Permissions on a Windows web server

Generally, under Windows the user that your web server runs as must haves rights to all of the directories and files for your web competition. This is IUSR on recent versions of IIS and “IUSR_machinename” where machinename is the name of the computer that the web server is running on on older versions of IIS. In addition to this, you must configure Internet Information Server (IIS) to allow the scripts to run and run and write from particular directories.

To modify the file permissions on a directory, run Windows Explorer, browse to the relevant directory, right click on it and choose properties, choose the security tab.

If the IUSR account isn't in the list of users, add it. Do not use the Everyone user in it's place, it will not work properly.

Each folder can have its security set individually, or the <scripts>\tipping or <html>\tipping directories can have blanket security applied, which can be a security risk.

To check permissions once you have the scripts executing, go to the admin page (admin.pl) and click on the check permissions link. This will check the permissions required for the web interface to upload files to the web front-end.

A list of directories and the required permissions follows. Replace any references to the tipping directory with the directory name that you specified for question 4 of install.pl.

File/directory

Owner

<scripts>\tipping\

Read & Execute
List Folder Contents
Read

<scripts>\tipping\data\ Read
Write
<scripts>\tipping\style\ Read
Write
<html>\tipping\ Read
Write
<html>\tipping\reports

Read
Write

<html>\tipping\images

Read
Write

You may also need to set up the IUSR account to be able to execute the perl executable. So for the directory that perl.exe is in (by default c:\perl\bin\) grant the IUSR account Read & Execute permissions.