Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I want to use this project in a large website I'm getting ready to develop, but I am in a situation where I will need to prompt for login using Active Directory rather than using Auto-login in some cases.
For instance, when a user is off-site and not directly logged into our Domain, I want them to be able to access the protected areas of the site. Is there any way to accomplish this using your project? Or maybe there is a simpler way to accomplish this that I'm not aware of.
You could change the way the logon user control works. (code in WindowsLogon.ascx.cs)
if a user is in your domain their browser should pass intergrated credentials, the code automatically logs the user on when this happens.
I think you could check the "AUTH_TYPE" server variable (http://msdn.microsoft.com/en-gb/library/ms524602(v=vs.90).aspx) and if this isn't set you could then use the login page to collect the user credentials like a normal login page.
ofcouse you could just prompt is LOGON_USER is blank. - probibly better .
Thanks for the quick reply ... I think I understand ... sorry, a bit of a novice here. There are sections of the site that I want to be available to anyone (logged in or not). By disabling the anonymous access, won't that require that ALL users of the website log in?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted