How can we give authentication to some pages in ASP.Net application in form authentication
prakash Rout
keep the pages you want to give a in separate folder and place the following web.config file in that folder:
<configuration> <system.web> <authentication mode="forms" /> <authorization> <allow users="?" /> </authorization> </system.web> </configuration>
keep the pages you want to give a in separate folder and place the following web.config file in that folder: < configuration > < system.web > < authentication mode="forms" / > < authorization > < allow users="?" / > < /authorization > < /system.web > </configuration > The above web.config allows all anonymous users to access any .aspx page in that folder.
keep the pages you want to give a in separate folder and place the following web.config file in that folder: The above web.config allows all anonymous users to access any .aspx page in that folder.