ASP Authentication
By Forms Default Authentication is by windows ,
so remember authentication is being handled by IIS unless you reconfigure it to be wrangled by ASP !
you need to configure that on the directory for your website.
On the Server goto the IIs Manager
1) go to control panel - Administrative tools - IIS Manager
2) go to the virtual directory you are working in and browse it
3) go to online properties and go to virtual directory in authentication methods
4) usually use Integrated Windows authentication for Intranets
or just click Anonymous Access for public sites…
Chronologically, I have learned (and it makes sense) that
Authentication (basic and integrated windows)
(web application of user identity)
has to occur before
Authorization
(resources and/or directories the user is allowed to access)…
in the webconfig, look for mode= Winodws or Forms element
<authentication mode=”Winodws or Forms” >
< forms name=”MyAuthCookie” loginUrl=”~/Login.aspx” timeout =”30″ ; >
< /formsĀ >
< /authentication >
- - - - - S P O N S O R I N G A D V E R T I S M E N T - - - - -