MVC 5 Prompt for Windows Authentication Only Once2019 Community Moderator ElectionWhat are MVP and MVC and what is the difference?What is the difference between MVC and MVVM?How do I force windows authentication with local asp.net development server?ASP.NET MVC 401 - Unathorized not prompting for loginSet custom 401 error view in Windows Authentication mode for MVC application.NET MVC Authentication - Forms + Windows AuthenticationHow to restrict access to groups and execute code as user?Basic Authentication: IE 11 Does Not Prompt for Credentials - Chrome and FF DoWhy does windows authentication prompting credentials popupWindows Authentication or Impersonation problem by for MVC 5, IIS 8, Server 2012 R2

Why doesn't this Google Translate ad use the word "Translation" instead of "Translate"?

Fourth person (in Slavey language)

What wound would be of little consequence to a biped but terrible for a quadruped?

Should I tell my boss the work he did was worthless

The bar has been raised

Word for a person who has no opinion about whether god exists

How do I deal with a powergamer in a game full of beginners in a school club?

Replacing Windows 7 security updates with anti-virus?

Examples of a statistic that is not independent of sample's distribution?

Why is Beresheet doing a only a one-way trip?

Low budget alien movie about the Earth being cooked

Offered promotion but I'm leaving. Should I tell?

What is the chance of making a successful appeal to dismissal decision from a PhD program after failing the qualifying exam in the 2nd attempt?

Do items de-spawn in Diablo?

Are babies of evil humanoid species inherently evil?

Why does the negative sign arise in this thermodynamic relation?

Virginia employer terminated employee and wants signing bonus returned

Single word request: Harming the benefactor

Make a transparent 448*448 image

Subset counting for even numbers

Is having access to past exams cheating and, if yes, could it be proven just by a good grade?

Logic. Truth of a negation

Algorithm to convert a fixed-length string to the smallest possible collision-free representation?

Who deserves to be first and second author? PhD student who collected data, research associate who wrote the paper or supervisor?



MVC 5 Prompt for Windows Authentication Only Once



2019 Community Moderator ElectionWhat are MVP and MVC and what is the difference?What is the difference between MVC and MVVM?How do I force windows authentication with local asp.net development server?ASP.NET MVC 401 - Unathorized not prompting for loginSet custom 401 error view in Windows Authentication mode for MVC application.NET MVC Authentication - Forms + Windows AuthenticationHow to restrict access to groups and execute code as user?Basic Authentication: IE 11 Does Not Prompt for Credentials - Chrome and FF DoWhy does windows authentication prompting credentials popupWindows Authentication or Impersonation problem by for MVC 5, IIS 8, Server 2012 R2










0















On a MVC 5 application, I have this in the Web.config:



<system.web>
<compilation debug="true" targetFramework="4.6.1" />
<httpRuntime targetFramework="4.6.1" />
<authentication mode="Windows" />
<authorization>
<deny users="?" />
<allow users="<list of authorized users>" />
</authorization>
</system.web>


The application correctly authenticates users from the specified list, but my issue is that it asks every single time that the page is refreshed, or navigated to. I want it to ask once and then remember the user as they navigate between pages on the application. How might I accomplish this?










share|improve this question


























    0















    On a MVC 5 application, I have this in the Web.config:



    <system.web>
    <compilation debug="true" targetFramework="4.6.1" />
    <httpRuntime targetFramework="4.6.1" />
    <authentication mode="Windows" />
    <authorization>
    <deny users="?" />
    <allow users="<list of authorized users>" />
    </authorization>
    </system.web>


    The application correctly authenticates users from the specified list, but my issue is that it asks every single time that the page is refreshed, or navigated to. I want it to ask once and then remember the user as they navigate between pages on the application. How might I accomplish this?










    share|improve this question
























      0












      0








      0








      On a MVC 5 application, I have this in the Web.config:



      <system.web>
      <compilation debug="true" targetFramework="4.6.1" />
      <httpRuntime targetFramework="4.6.1" />
      <authentication mode="Windows" />
      <authorization>
      <deny users="?" />
      <allow users="<list of authorized users>" />
      </authorization>
      </system.web>


      The application correctly authenticates users from the specified list, but my issue is that it asks every single time that the page is refreshed, or navigated to. I want it to ask once and then remember the user as they navigate between pages on the application. How might I accomplish this?










      share|improve this question














      On a MVC 5 application, I have this in the Web.config:



      <system.web>
      <compilation debug="true" targetFramework="4.6.1" />
      <httpRuntime targetFramework="4.6.1" />
      <authentication mode="Windows" />
      <authorization>
      <deny users="?" />
      <allow users="<list of authorized users>" />
      </authorization>
      </system.web>


      The application correctly authenticates users from the specified list, but my issue is that it asks every single time that the page is refreshed, or navigated to. I want it to ask once and then remember the user as they navigate between pages on the application. How might I accomplish this?







      iis model-view-controller






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 6 at 17:52









      Tim MorrisTim Morris

      175




      175






















          1 Answer
          1






          active

          oldest

          votes


















          0














          As far as I know, storing memebr in for windows authentication is not related with the IIS setting. This is related with the Browser setting. I guess you may disable the auto submission of windows credentials by browsers.



          For IE or Chrome(Chrome browser uses system settings which are managed using Internet Explorer):



          Notice: You should add the url in the intranet as below image shows:



          enter image description here



          1.Navigate through Menu bar to Tools -> Internet Options -> Security



          2.Select Local Intranet and Click on "Custom Level" button



          3.Scroll to bottom of the window to User Authentication section, select "automatic logon only in intranet zone"



          enter image description here



          For firefox:



          1.Start Firefox



          2.In the address bar, type about:config. At the prompt that warns to proceed with caution, agree to continue.



          3.After the config page loads, in the filter box type: network.automatic. You should see a search result of network.automatic-ntlm-auth.trusted-uris



          4.Modify network.automatic-ntlm-auth.trusted-uris by double-clicking the row, and then enter https://your_SecureAuth_FQDN.com; Multiple sites can be added by comma delimiting them, as in this example: https://your_SecureAuth_FQDN.com, https://www.replacewithyourintranetsite.com



          5.Click "OK" and close Firefox






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55029358%2fmvc-5-prompt-for-windows-authentication-only-once%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            As far as I know, storing memebr in for windows authentication is not related with the IIS setting. This is related with the Browser setting. I guess you may disable the auto submission of windows credentials by browsers.



            For IE or Chrome(Chrome browser uses system settings which are managed using Internet Explorer):



            Notice: You should add the url in the intranet as below image shows:



            enter image description here



            1.Navigate through Menu bar to Tools -> Internet Options -> Security



            2.Select Local Intranet and Click on "Custom Level" button



            3.Scroll to bottom of the window to User Authentication section, select "automatic logon only in intranet zone"



            enter image description here



            For firefox:



            1.Start Firefox



            2.In the address bar, type about:config. At the prompt that warns to proceed with caution, agree to continue.



            3.After the config page loads, in the filter box type: network.automatic. You should see a search result of network.automatic-ntlm-auth.trusted-uris



            4.Modify network.automatic-ntlm-auth.trusted-uris by double-clicking the row, and then enter https://your_SecureAuth_FQDN.com; Multiple sites can be added by comma delimiting them, as in this example: https://your_SecureAuth_FQDN.com, https://www.replacewithyourintranetsite.com



            5.Click "OK" and close Firefox






            share|improve this answer





























              0














              As far as I know, storing memebr in for windows authentication is not related with the IIS setting. This is related with the Browser setting. I guess you may disable the auto submission of windows credentials by browsers.



              For IE or Chrome(Chrome browser uses system settings which are managed using Internet Explorer):



              Notice: You should add the url in the intranet as below image shows:



              enter image description here



              1.Navigate through Menu bar to Tools -> Internet Options -> Security



              2.Select Local Intranet and Click on "Custom Level" button



              3.Scroll to bottom of the window to User Authentication section, select "automatic logon only in intranet zone"



              enter image description here



              For firefox:



              1.Start Firefox



              2.In the address bar, type about:config. At the prompt that warns to proceed with caution, agree to continue.



              3.After the config page loads, in the filter box type: network.automatic. You should see a search result of network.automatic-ntlm-auth.trusted-uris



              4.Modify network.automatic-ntlm-auth.trusted-uris by double-clicking the row, and then enter https://your_SecureAuth_FQDN.com; Multiple sites can be added by comma delimiting them, as in this example: https://your_SecureAuth_FQDN.com, https://www.replacewithyourintranetsite.com



              5.Click "OK" and close Firefox






              share|improve this answer



























                0












                0








                0







                As far as I know, storing memebr in for windows authentication is not related with the IIS setting. This is related with the Browser setting. I guess you may disable the auto submission of windows credentials by browsers.



                For IE or Chrome(Chrome browser uses system settings which are managed using Internet Explorer):



                Notice: You should add the url in the intranet as below image shows:



                enter image description here



                1.Navigate through Menu bar to Tools -> Internet Options -> Security



                2.Select Local Intranet and Click on "Custom Level" button



                3.Scroll to bottom of the window to User Authentication section, select "automatic logon only in intranet zone"



                enter image description here



                For firefox:



                1.Start Firefox



                2.In the address bar, type about:config. At the prompt that warns to proceed with caution, agree to continue.



                3.After the config page loads, in the filter box type: network.automatic. You should see a search result of network.automatic-ntlm-auth.trusted-uris



                4.Modify network.automatic-ntlm-auth.trusted-uris by double-clicking the row, and then enter https://your_SecureAuth_FQDN.com; Multiple sites can be added by comma delimiting them, as in this example: https://your_SecureAuth_FQDN.com, https://www.replacewithyourintranetsite.com



                5.Click "OK" and close Firefox






                share|improve this answer















                As far as I know, storing memebr in for windows authentication is not related with the IIS setting. This is related with the Browser setting. I guess you may disable the auto submission of windows credentials by browsers.



                For IE or Chrome(Chrome browser uses system settings which are managed using Internet Explorer):



                Notice: You should add the url in the intranet as below image shows:



                enter image description here



                1.Navigate through Menu bar to Tools -> Internet Options -> Security



                2.Select Local Intranet and Click on "Custom Level" button



                3.Scroll to bottom of the window to User Authentication section, select "automatic logon only in intranet zone"



                enter image description here



                For firefox:



                1.Start Firefox



                2.In the address bar, type about:config. At the prompt that warns to proceed with caution, agree to continue.



                3.After the config page loads, in the filter box type: network.automatic. You should see a search result of network.automatic-ntlm-auth.trusted-uris



                4.Modify network.automatic-ntlm-auth.trusted-uris by double-clicking the row, and then enter https://your_SecureAuth_FQDN.com; Multiple sites can be added by comma delimiting them, as in this example: https://your_SecureAuth_FQDN.com, https://www.replacewithyourintranetsite.com



                5.Click "OK" and close Firefox







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Mar 7 at 7:59

























                answered Mar 7 at 7:36









                Brando ZhangBrando Zhang

                6,5872726




                6,5872726





























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55029358%2fmvc-5-prompt-for-windows-authentication-only-once%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Can't initialize raids on a new ASUS Prime B360M-A motherboard2019 Community Moderator ElectionSimilar to RAID config yet more like mirroring solution?Can't get motherboard serial numberWhy does the BIOS entry point start with a WBINVD instruction?UEFI performance Asus Maximus V Extreme

                    Identity Server 4 is not redirecting to Angular app after login2019 Community Moderator ElectionIdentity Server 4 and dockerIdentityserver implicit flow unauthorized_clientIdentityServer Hybrid Flow - Access Token is null after user successful loginIdentity Server to MVC client : Page Redirect After loginLogin with Steam OpenId(oidc-client-js)Identity Server 4+.NET Core 2.0 + IdentityIdentityServer4 post-login redirect not working in Edge browserCall to IdentityServer4 generates System.NullReferenceException: Object reference not set to an instance of an objectIdentityServer4 without HTTPS not workingHow to get Authorization code from identity server without login form

                    2005 Ahvaz unrest Contents Background Causes Casualties Aftermath See also References Navigation menue"At Least 10 Are Killed by Bombs in Iran""Iran"Archived"Arab-Iranians in Iran to make April 15 'Day of Fury'"State of Mind, State of Order: Reactions to Ethnic Unrest in the Islamic Republic of Iran.10.1111/j.1754-9469.2008.00028.x"Iran hangs Arab separatists"Iran Overview from ArchivedConstitution of the Islamic Republic of Iran"Tehran puzzled by forged 'riots' letter""Iran and its minorities: Down in the second class""Iran: Handling Of Ahvaz Unrest Could End With Televised Confessions""Bombings Rock Iran Ahead of Election""Five die in Iran ethnic clashes""Iran: Need for restraint as anniversary of unrest in Khuzestan approaches"Archived"Iranian Sunni protesters killed in clashes with security forces"Archived