Server Settings/ISP

To display this window:

  • Launch the DAF Configuration Tool
  • Right-click on your server name
  • Choose [Properties], then [ISP]


 

Enable

        Select to enable the site protection activation via a web query

Authorization Url

This Url is queried by DAF Filter for authorization to enable the site protection. 

The filter will add the following data to Url query string:
- SiteID=<IIS SiteID>
- Options=<Options value>

Server reply:
To allow execution the server must return an xml tag "AuthorizationCode" set to "1", and "0" otherwise.

The following example, will allow the site protection for site ID=407622 and refuse it for all other sites:

<%
if request.querystring("SiteID")="407622" then
    response.write "<AuthorizationCode>1</AuthorizationCode>"
else
    response.write "<AuthorizationCode>0</AuthorizationCode>"
end if
%>

This option allow the ISP to control automatically which site may or may not use DAF Protection. For example, the ISP may use an SQL table to define in advance which site may use or not the DAF Protection. For this scenario, the Authorization Url would lookup the table and return the authorization flag found.

Notification Url

This Url is queried by DAF Filter to notify the of a site protection status change (Enabled/Disabled).

The filter will add the following data to the Url query string.

- SiteID=<IIS SiteID>
- Error=<Error value> (zero for success.)
- Action=<install/unsinstall>

The server may specify with tag "ForwardUrl" a redirection destination.

Example:

if Action="Install" then
  "<ForwardUrl>http://192.168.200.250:82/InstallFilter/ProtectionEnabled.asp</ForwardUrl>"
end if

if Action="Uninstall" then
  "<ForwardUrl>http://192.168.200.250:82/InstallFilter/ProtectionDisabled.asp</ForwardUrl>"
end if

Authorization and Notification Urls are requested internally by the DAF Engine. The client is not redirected to these destinations.


See also: How to setup a site protection activation via a Web interface