Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
239 views
in Technique[技术] by (71.8m points)

c# - Windows authentication in IIS 8.5 without pop up appearing

I'm pretty new to Net Core and IIS management. My question is: is it possible to make a windows authentification without asking the user to type their credentials in the classic pop-up provided by IIS? For example, if an user in my company network logs in in their windows computer, then the pop up doesn't appear as their credentials were already identified before. For the moment I use User.Identity.Name to get the current user name after the user enters their credentials through IIS. Or is there a way to change the pop up apperance to make it more user friendly?

question from:https://stackoverflow.com/questions/65886295/windows-authentication-in-iis-8-5-without-pop-up-appearing

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you want the browser to not pop up, it is better to use an Active Directory account.

  1. Open the 'Customize' menu (upper right corner) in Chrome and select Settings.

  2. In the 'System' section, click on 'Open proxy settings.'

  3. Click the 'Security tab > Trusted Sites icon', then click the 'Sites' button and enter the URL of your Trusted Site, then click Add.

  4. Click 'Close' to close the Trusted Sites window.

  5. Click on 'Security tab > Local intranet' then the 'Custom level...' button.

  6. Scroll to the bottom and select the 'Automatic logon with current user name and password'

    option. It's under the 'Authentication > Logon' section.

  7. Click OK to save the changes.

  8. Do steps 5 and 6 for the 'Trusted Sites' zone also.

  9. Click OK to save all the changes and close the Properties window.

Add your site into the Trusted Sites zone in Internet Properties and set "Automatic logon with current user name and password" in Local Intranet and Trusted Sites zones.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...