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.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Posted Jun 7, 2011, 10:55 PM EDT
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.
Jiteendra SampathiraoRank #585 · 4.1K reputationPosted Jun 7, 2011, 10:56 PM EDT
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...