Click here to Skip to main content
15,891,943 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Is it possible to not require a login page. I want the application to use the windows credentials. So that when they access the page, if their user name is in the AD group they'll be fine but if they aren't then they won't be able to access it.


What I have tried:

<authentication mode="Windows" />
   <authorization>
     <deny users="?" />
   </authorization>
   <identity impersonate="true" />
Posted
Updated 16-Jun-17 0:58am
Comments

1 solution

 
Share this answer
 
Comments
Vikram Singh Rathaur 16-Jun-17 7:11am    
i am not using any login page to enter login id & password, I want user id and password should come from windows login credential & active directory.
deepankarbhatnagar 16-Jun-17 7:14am    
Use SSO then because how the site will know which user is coming. User has to login somewhere.
Either your site or some other site.
F-ES Sitecore 16-Jun-17 7:16am    
Windows Authentication is what you want. Google for instructions on how to set it up, but also google for its limitations, it will only work in an intranet environment.
Vikram Singh Rathaur 16-Jun-17 7:18am    
yes , my application is an intranet application.
Vikram Singh Rathaur 16-Jun-17 7:20am    
but in windows authentication, a pop up is appear to enter user id & Password for log in, i don't want it.

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