Setting security in ASP.NET is often a hassle and it gets worse when you're frustrated by confusing or impossible instructions. For example, you might be told that to allow a certain feature, you need to give the ASPNET account write access to a file or folder on your workstation.
"Just right-click on the file name and set the permissions using the Security tab," is the advice in the newsgroup. Trouble is, the poor developer reading this may not have a Security tab if he/she is developing locally on Windows XP Pro. You see, the system default (the Recommended setting) is for simple file sharing and security which hides the tab.
To get the Security tab back:
- In the Control Panel, open the Folder Options applet.
- In Folder Options, select the View tab.
- In the Advanced settings area, scroll to the bottom of the settings list and locate Use simple file sharing (Recommended).
- Uncheck the checkbox.
Now you can manage the permissions on files and folders using the Security tab that magically shows up.
I suppose most everyone knows this but I thought it should be on the record for those who might not.
Microsoft MVP [ASP.NET]