Windows XP Pro and Permissions.
If
you are developing using Windows XP Pro and running the NTFS file
system setting proper permissions on a database folder in your website
requires that you 1st disable simple file sharing.
To do so open up "my computer". At the top open up "tools/folder options"
Then the "view" tab.
Then at the bottom uncheck "use simple file sharing"
After that that is done... using "my
computer" browse to the folder in your web that you need to set permissions
on.
Right click on that folder and then choose the "security" tab.
(If simple file sharing is on that tab wont be there)
Give the "Internet Guest Account" Modify Permissions
(depending on what you are doing you can sometimes get
away with less permissions)
This will check all the boxes under modify as well.
BTW:
It is referred to as the internet guest
account but that isn't the actual username. The username is different for
every machine. It usually starts off with "IUSR_" and then your machine
name. "Internet Guest Account" is always the account's full name as labeled
by IIS when it is installed.
Regardless,
If an account isn't listed you have to add it.
Click (add-advanced-find now) and it will list off all the user accounts on
the machine
You can also click (add-advanced) and simply
type in the account name or part of it.
Some more tips:
If on a local machine you always just give the "everyone" account full
control which is pretty much going to make anything work.
To see all the user names and groups on the system you can also go to computer management in your server's administrative tools
and view all of the accounts and groups there under "Local Users and Groups
Now, if you are using ASP.NET you need to
give permissions to an account called ASPNET. It wont show up in the user
list. You'll need to click "add" and then type in "ASPNET"
More Info on Simple File Sharing
http://www.practicallynetworked.com/sharing/xp/filesharing.h tm
http://www.theeldergeek.com/quick_guide_to_simple_file_shari ng.htm
http://support.microsoft.com/default.aspx?scid=kb;en-us;3040 40
|