Site Protection Wizard

The Site Protection Wizard allow to easily create and setup a sample user database: (XML text file or Microsoft Access.) All settings applied in this configuration window may be view and changed via the Security Handler Configuration and the User Database Configuration.

These instructions assume that DAF is already installed on your server. 

1. Launch the DAF Configuration Tool (CONFIG.EXE), expand your computer [MyComputer (local computer)], than item [IIS Sites Security Handlers]

All your sites should now be listed as on the screen copy below:

2. Enable the protection for a web site and create a sample user database

To enable the protection for a web site, select the check box located on the same line.  The Site Protection Wizard window should popup:

a. If the site was previously protected, you may unselect [Preserve existing] to clear all current settings.

b. Select [Create and Setup a sample User Database] and choose a User Database type: [Text XML user database] or [Microsoft Access user database]

This option will configure the site Security Handler to use a sample user database. By default, the sample xml user database is located at <WebHome>\..\dafdata<SiteID>\xmluserdb\users.xml". The location may differ if a custom directory was defined (Server Settings/Directories/DAF Data root directory)

DAF 5.0 also supports most ODBC and LDAP  sources but not via the Site Protection Wizard.

c. Select [Create and Setup a sample protected directory]

This option will create a sample protected directory located at <SiteHome>/dafdemoprv. By default the directory is protected with a DAFAUTH.INI file (vs ACLs).

d.To use Basic authentication (standard authentication popup box) no specific settings are needed because it is the default mode:
- Unselect [Display Site Protection Simplified Properties upon wizard completion]
- Press [Finish].

To use an HTML Login form:
- Select [Display Site Protection Simplified Properties upon wizard completion]
- Press [Finish]
- The [Site Protection Simplified Properties] window should popup. To set the login form to an HTML refer to Login Form documentation.

e. Your are now ready to test your protected site.