Publish - IIS in MS Windows

Microsoft IIS is the standard web server for Microsoft Windows computers. The EZSurvey web CGI that runs on IIS is named ezs.exe. It is a compiled CGI that comes with EZSurvey and does not require you to compile it; it is already compiled.

EZSurvey will generate a group of publishing files. Once the publishing files are on the web server, web access permissions need to be set (or verified). In IIS, permissions can be set on directories and on the contents of the directories. Depending on the version of IIS you have installed, the steps to setting permissions will differ. Permissions are usually accessed in the server management console in IIS or Personal Web server (PWS) by right-clicking on the directory or file, and choosing Properties. Depending on the version of the Microsoft web server management console, the permission settings will appear on one of the tabs. The basic permission settings for the scripts directory are:

  1. Disable directory browsing
  2. Allow Executables and Scripts
  3. Disallow Read access to browsers
Directory browsing allows others to see all contents of the directory. Enabling browse access can be a security risk.

Executable permission allows you to run the ezs.exe program, which is the survey engine. If you are using the ISAPI or PERL option, ezs.exe will be replaced with ezs.dll or yoursurvey.pl, respectively.

Read access should be disabled as well to keep others from viewing critical files, such as the data file. If required, you can individually allow read access to the .html file, which is usually necessary for single page surveys.

Instructions:

There are two types of permissions on Windows Server with IIS.
  1. Web server permissions in IIS.
  2. File level permissions in Windows Explorer.

The Windows web server, called IIS, uses an account called IUSR_COMPUTERNAME. Where COMPUTERNAME is the name of the server. "Write" permissions must be allowed for the IUSR_COMPUTERNAME account or the Users group.

Right click on the projectname.asc file. Select Properties and then the "Security" tab. You should see a list titled Group or user names. Add the user IUSR_COMPUTERNAME, click Advanced if you want to select the user from a list. Once the user is added, select the Allow box for Write permissions for the IUSR_COMPUTERNAME account.

  • Follow these steps to allow ezs.exe under Web Service Extensions in IIS 6.0:

    Open Internet Information Services (IIS) Manager from the Administrative Tools window. Select Web Service Extensions. Select Add a new Web service extension

    From the New Web Service Extension window, enter ezs.exe into the Extension name box. Select Add and enter the path to the ezs.exe program on the server. In the example the directory is located at
    C:\Inetpub\Scripts\ezs.exe
    Also, select the option Set extension status to Allowed

    See also...