Site Protection Enable/Disable Instructions

  • With a browser, load url

    http://<domain.com>/dint/<isp_defined>/protectionhome.asp?SiteID=NNNNN

    where "NNNN" is your site ID.
     
    Path "/dint" is required and is dedicated to DAF internal processing. It must not match a physical or virtual directory.

    Url [http://<domain.com>/<isp_defined>/] (with "/dint" removed) must pointe the following directory:

    <DAF Data directory>\default_files\SiteProtectionSetup

    For ease of use, it is recommended to create an IIS virtual directory pointing this location.

    When prompted for credentials type in your site administrator login and password

Access will be granted to all NT accounts which own read|write permission for the web site home directory.


  • Choose [Enable Protection]



Once the protection status reports "Enabled":

- the protection for your site is Enabled
- by default, the login form type is set to Basic with an unsecure connection
- a test user was added to your user database (login:"john", password:"left")
- a sample protected directory is available at "/dafdemoprv"
 

When the site owner press [Enable Protectetion] several tasks are executed:

1) Changes to the web site home directory:
- directory "<DAF Data directory>\default_files\dafdemoprv" is copied to "<site home>\dafdemoprv" (sample protected directory)
- directory "<DAF Data directory>\default_files\session" is copied to "<sitehome>\session" (HTML Login Form pages)

2) Changes to the web site (IIS metabase):
- virtual directory "dcmd" is added (to query the DAF Engine)

3) Changes to the DAF configuration (security handler and user db)
- the security handler data directory is created at the location defined in field
 [DAF Configuration Tool/Server Settings/Per site DAF Security Handler data directory template]. The site owner has no need to access this directory. In all cases, it is recommended to place it out of the web site scope.
- any existing DAF configuration is cleared for this site
- the security handler is enabled
- the login form is set to "Basic"
- the connection type is set to "Standard" (unsecure)

4) A XML user database is added
- directory "<DAF Data directory>\default_files\xmluserdb" is copied to the location defined in field [DAF Configuration Tool/Server Settings/User DB directory template ... for XML User DB created automatically]. It is strongly recommended to place user database file out of the web site scope.
  • Test the sample protected directory

    - With a browser, load url <mydomain.com>/dafdemoprv
    - At this point, you should be prompted for credentials
    - type in login "john" and password "left"
    - access to the protected test page should be granted