|
| |
|
|
John T.
Posts: 39 Joined: 1/22/2003 Status: offline
|
Security question - 3/18/2003 13:28:23
Having my problems with this. My desire is the following. A site with all pages viewable to public. Except one page that I want protected for certain users(I have done this). I also want to be able to allow an admin to have access to a page all his own in a subdirectory. I have the page protected okay in my Main folder, as I said. I have created a subfolder that has a login page, default page that is different from the Main folder. It is this default page that I want the admin to have access to. My config file is like this : <configuration> <system.web> <authentication mode=" Forms" > <forms name=" .ASPXAUTH" loginUrl=" Login.aspx" protection=" All" timeout=" 60" /> </authentication> <authorization> <deny users=" ?" /> </authorization> </system.web> <location path=" Subfolder" > <system.web> <authorization> <deny users=" ?" /> </authorization> </system.web> </location> </configuration> Whenever I login to the Login page in the Subfolder(using the users' group login info), it takes me to the default page in the Main folder. I want to just have the admin be able to access the default page in the Subfolder. Hope this makes sense. Maybe if I see it working correcty, the light will go on. Thanks.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|