|
You can start this application-specific wizard on the Wizards tab when you’ve selected an application in the navigation area.
Purpose
The Anti Spider Wizard is used simply to block undesirable programs automatically accessing a web application.
The check is carried out via the User Agent field in the HTTP header. You can specify a list of valid and invalid character strings that are permitted to occur in this HTTP header. In addition, Stingray Application Firewall generates a robots.txt file, which is observed by standardized search engines.
User Agents that aren’t allowed are denied by Stingray Application Firewall with HTTP error code 403 (Forbidden).
Caution: This feature can’t offer completely full protection due to the nature of the HTTP protocol. A skilled attacker can simulate the behavior of a legitimate user by modifying the HTTP header accordingly. The Anti Spider Wizard is therefore suitable primarily for protecting against slightly less sophisticated attacks or to prevent undesirable access attempts by known spiders.
Expand /Collapse All Subsections
Attribute
|
Meaning
|
Valid User Agents
|
Here you specify a whitelist of the User Agents that Stingray Application Firewall is to permit access to your web application. By default, the most common browsers are already entered here. Regular expressions can be used.
For details on priority and internal processing, see How Blacklists, Whitelists, and Graylists are processed.
|
Invalid User Agents
|
Here you specify a blacklist of the User Agents that Stingray Application Firewall is to deny access to your web application. By default, several known agents are already entered here. Regular expressions can be used.
Tip: Check the log files regularly for additional User Agents you may want to enter here as well.
For details on priority and internal processing, see How Blacklists, Whitelists, and Graylists are processed.
|
The following example permits everything with the exception of curl:
Valid User Agents: ^.*$
Invalid User Agents: curl
The following example permits Internet Explorer only:
Valid User Agents: ^Mozilla/4\.0 (compatible: MSIE \d\.d; Windows.*$
Invalid User Agents: (empty)
|
The Anti Spider Wizard configures the following handlers:
|
See also
Wizards
Using Wizards to Configure Applications
|