Asked by:
Windows Authentication

Question
-
User302325870 posted
Hi,
I'm building an internet web application with windows authentication enabled. I have configured the web.config file and i have enabled Windows Authentication as well as Anonymous authentication in IIS.
But every time I run the application the browser prompts for userName and password.
Am i doing it wrong? Is there any way to bypass the login WITHOUTconfiguring anything in the web browser?
I am using MVC 5, C#, IIS 8
Thursday, January 15, 2015 7:28 AM
All replies
-
User197322208 posted
d i have enabled Windows Authentication as well as Anonymous authentication in IIS.just windows .
every time I run the application the browser prompts for userName and password.are you in the same domain?
Thursday, January 15, 2015 8:23 AM -
User302325870 posted
Yes in the same domain.
Thursday, January 15, 2015 8:28 AM -
User753101303 posted
Hi,
Click right on the page and use properties to show the zone. It is done by default if the site is in the "local intranet" zone so my first though would be that this site is not in this zone...
Thursday, January 15, 2015 8:46 AM -
User197322208 posted
Are you using IE?
Thursday, January 15, 2015 9:22 AM -
User603616845 posted
You can change the setting of browser. Check out this link...
https://social.technet.microsoft.com/Forums/en-US/9efbf7fc-1dbc-44fc-a746-5eeb2db3d392/bypassing-windows-authentication-via-an-aspx-pageThursday, January 15, 2015 10:35 AM -
User-1151753377 posted
Hi dotNetMVC,
Thank you for your post.
The Windows Authentication mode used if you have Intranet application and the users must use there domain accounts.
Mor e details information please refer to the link below.
http://codeverge.com/asp.net.config-deploy/bypass-login-with-iis-integrated-window/280720
Best regards,
Summer
Thursday, January 15, 2015 10:19 PM -
User302325870 posted
Hi dotNetMVC,
Thank you for your post.
The Windows Authentication mode used if you have Intranet application and the users must use there domain accounts.
Mor e details information please refer to the link below.
http://codeverge.com/asp.net.config-deploy/bypass-login-with-iis-integrated-window/280720
Best regards,
Summer
Yes I am building an intranet web application
Thursday, January 15, 2015 11:42 PM -
User-1151753377 posted
Hi dotNetMVC,
More details information about the Authentication and Authorization with Windows Accounts.
Hope this help!
Regards & Summer
Thursday, January 22, 2015 1:38 AM