unauthorized users to access page
I want to protect my few pages from unwanted users. Is I should create that pages in specific folder to protect from unauthorized users. Mostly, I used web.config to protect pages from unauthorized users, is there any other way to protect pages from authorized users.
Jiteendra SampathiraoPosted Jun 8, 2011, 2:56 AM
Store the information about users in Database. And create an xml file and create two nodes one is for Authorized persons and other one is for Unauthorized person.
Use the login control to authenticate. If authentication process is done successfully..
1.) fetch the values from Xml node wise....
2.) design a configuration screen for assigning the privileges to the users...
Posted Jun 8, 2011, 2:55 AM
Your idea also work like creating a seperate folder for authorization.
If you don't want to do any authentication for certains page you can configure those in web.config.