How can we modify the windows authentication?
[b]Question asked by visitor syed raza haider[/b]
Printable View
How can we modify the windows authentication?
[b]Question asked by visitor syed raza haider[/b]
The <authentication> section in web.config file specifies the method used by an application. change the mode attribute of <authentication> tag in web.config file.
ex:<authentication mode="Forms"/>
You can change Windows authentication for the web application by changing the Authentication Mode to Forms in web config and by Developing a Login Page and seting loginUrl to this login page to authenticate user and secure web application.
ex :
<authentication mode="Forms">
<forms loginUrl="login.aspx" defaultUrl="default.aspx" timeout="60"/>
</authentication>
you can change the Connectionstring and Membership provider in case you want it be overriden by settings in machine.config.