You're here: Reference > Handlers > Entry Point Handler

previous topic  next topic

Entry Point Handler

Note:  The Entry Point Handler only has an effect when the Session Handler is also active. In detection mode, the Entry Point Handler is ignored.

Purpose

The Entry Point Handler forces the entry to the web application via specific URLs and can therefore prevent undesirable deep linking.

When the Entry Point Handler is activated, the first request in a session must either be to one of the URLs specified under entrypoint or to the main page specified under mainpage. If this isn’t the case, Stingray Application Firewall generates an HTTP redirect to the URL specified in the mainpage field.

Severity

Events triggered by this handler are given the severity: low.
(For details on severity levels, see Severity of Events Triggered by Handlers).

Expand /Collapse All Subsections

Recommendations for use

This handler should be activated if you want to prevent other sites linking to parts of your content. Alternatively you can use the Url Encryption Handler if you also want to encrypt the URLs of your web application.

Attributes

Attribute

Meaning

mainpage

Main page to which the user is redirected when the first request in a session is onto a page that isn’t included in the entrypoint list.

Example:
index.html

entrypoint

List of permissible entry points to your web application.

Examples:
/demos/myentry.html

content types

In order to achieve maximum performance, the handler only analyzes requests of the content types that are stated here.

url protection

If you activate this option, Stingray Application Firewall stores the URLs of all outgoing links of your web application. Users can only re-enter a page of your web application (using the back or history function of their browser, e.g.) if they come from exactly one of these URLs. In case of a mismatch, Stingray Application Firewall generates an HTTP redirect to the URL specified in the mainpage field.

usertext

Optional:
Here you can specify some text that Stingray Application Firewall adds to the log file entries created by this handler. You can use this, for example, to document why you’ve added the handler to your configuration, and how the handler is intended to behave.

enable logging

Disable this option if you do not want Stingray Application Firewall to create a log file entry when the handler is executed. This can be useful to keep log files smaller in case the handler creates a large number of entries but you don’t need these entries.

Caution:  When in detection mode, disabling logging de facto makes the handler ineffective. Disabling logging also prevents the actions of the handler from being taken into account for the Top-10 lists in Attack Analysis, and from being listed in Reports.
To decrease the size of the log files, also consider to enable reduced logging, which excludes all non-handler-related information from the log files (see Editing Applications).

Log file entries written by this handler

Handlers

Editing Handlers

Referer Handler

Url Encryption Handler

©  Riverbed Technology, all rights reserved   previous topic  next topic