|
Subject:
|
Securing a folder
|
|
Posted By:
|
stu9820
|
Post Date:
|
2/11/2004 8:42:49 AM
|
I've set my application to Forms Authentication and locked the necessary folders from anonymous access but now I want to have a folder that only I can get to and nobody else. Is there a way to do this?
|
|
Reply By:
|
planoie
|
Reply Date:
|
2/11/2004 12:06:52 PM
|
If you specify that folder to only <allow ...> your user ID. Depending on what authentication scheme you are using this might not be easy. If you are using windows auth, you could speficy just your network userID. I'm not sure how you'd do that with forms authentication where you have to manually check your user IDs. Either way, putting another web.config with the one user allowance in that folder, or by using the <location> node should get you what you need at least with regards to specifying one user for that folder.
Peter ------------------------------------------------------ Work smarter, not harder.
|
|
Reply By:
|
stu9820
|
Reply Date:
|
2/11/2004 4:30:55 PM
|
I couldn't figure it out with forms so I check to see if the user.identity.name matches mine and if not redirect them.
|