Installation Guide
Thank you for using Scanraid Surveys. This guide will help you install the software.
Please email us at surveys@scanraid.com
if you find anything lacking in this guide. Your comments will help us improve the
product and the documentation.
Documentation on Creating Surveys is here.
- Installing the scripts
- Setting up the Database with ODBC
- Options in the Global.asa file
- Querystring Parameter Encryption
- The Default Users
Installing the scripts
This guide assumes you are familiar with Windows IIS (Internet Information Services).
- You should unzip the file you downloaded and copy the files into a directory
on your web server. Make sure the graphics files are in a sub-directory called
images.
- Create a Virtual Directory in IIS that points to the scripts directory.
You should allow scripts to execute but nothing else.
- Change the default page to SRSlogin.asp
Continue to the next section.
Setting up the Database with ODBC
- When you unzipped the download file you will have placed the database in the
same directory as the scripts. It is time to move this out of there (where anyone
could download it) into a private data directory. Normally this is parallel to
the scripts directory.
- In the Windows Control Panel under Administrative Tools you will find
Data Sources (ODBC). Double click on that to open it. Select System DSN
and then click Add. Search for Microsoft Access Driver (*.MDB). Click on
Finish.
- The new window that pops up contains three things you need to complete. The
Data Source Name must be ScanraidSurveys. Set the Description to
be the same. Click on Select and go and find the Access MDB file you put in
the private data directory. Once selected press OK and exit the ODBC Manager
Note: You should check that you have inherited permissions on the scripts and data directory
so that the anonymous IIS user can read these directories. The user name will be of the
form IUSR_<servername> where servername is the name of your server.
You new Scanraid Surveys system is ready. Check that you can see SRSLogin.asp in your
browser.
Options in the Global.asa file
A number of configuration options are available for tweaking in the global.asa file.
This is a special script files which always runs when a user goes to the web site
for the first time. (Note: Changing this file will cause all existing users on the
site to loose their session).
You can change the following:
Querystring Parameter Encryption
Survey and user identifiers (no more than numbers) are passed around from
script to script. This is fine if you are in a trusted environment but if
you intend to use Scanraid Surveys on the Internet where you don't know
who your respondees will be - then some additional security is advised.
The component we have selected to encrypt the parameter strings is called URL Encrypt.
It is not a Scanraid component but is it free to download from http://a1lab.com.
We also have a copy on our server which you can download.
It includes a setup program which will install on your web server - for which you
will require administrator rights. The component is very useful for any kind of web site
and by installing it it will be available for other sites on your web server.
once you have installed URL Encrypt change the global.asa file as described above
so that session("Encrypt") = "Hard".
The Default Users
There are two default users in the database which comes supplied with this
software.
- Guest. password 'guest'. The Guest user allows anyone to
login and view the administration system and run any survey. This sounds
dangerous but infact it is entirely passive. Any changes made to any forms
are ignored when the Guest user posts. The purpose of Guest is to demonstrate
or train other users. They cannot do any damage in guest mode and your database
will be untouched. If you don't want a guest user then delete him from the list
of users.
- Administrator. You get into the system for the first time we have
set up a user called Administrator with the password 'administrator'.
Your MUST take over this user by overwriting the user name and password, or
anyone will be able to get in.
Happy Surveying!
Don't forget to read up on how to create a survey here.
Example surveys are included in the database which you can keep or delete.
|