Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Everybody,

I build a web application in asp.net 4.0,in which users are authenticated using Windows Authentication/ Active Directory membership provider.
Basically ,my web application in intranet application,user enter only URL on its machine ,if it is authenticated user than access my web application other wise redirected to longing page for anonymous user.

How can i do this ,please guide me.
Posted

1 solution

I build a web application in asp.net 4.0,in which users are authenticated using Windows Authentication/ Active Directory membership provider.
This sounds like, there is no issue with implementation. Windows authentication is properly implemented and working.

user enter only URL on its machine ,if it is authenticated user than access my web application other wise redirected to longing page for anonymous user.
This is based on browser settings of client system.
For IE:
Tools -> Internet Options -> Security -> Local Intranet -> Custom Level (Security settings) -> User Authentication -> Logon -> "Automatic Logon with current username & password"<br />

This setting will do what you ask.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900