authenticate particular page in a directory to particular user or role
-
Hi, I'm using ASP.NET administrative tool to configure security. I want to authenticate page-by-page not directory by directory On the left side in (MANAGE ACCESS RULES), it only shows directories, not pages. How to select particular page and then authenticate in WAT. If not, then what is the alternative. Regards Asif Rehman
-
Hi, I'm using ASP.NET administrative tool to configure security. I want to authenticate page-by-page not directory by directory On the left side in (MANAGE ACCESS RULES), it only shows directories, not pages. How to select particular page and then authenticate in WAT. If not, then what is the alternative. Regards Asif Rehman
The one that I know of you can do it from web.config file. So in your web.config you need to use the location tag to exclude the pages that you do not want to authenticate.. Look at this example: <configuration> <location path="YourPath/yourfile.aspx"> <system.web> <authorization> <deny users="?" /> - OR - <allow users="?" /> </authorization> </system.web> </location> </configuration>