FuseGuard Logo

fuseguard.components.filters
Component ForeignPostFilter

filters.BaseFilter
  |
  +--filters.ForeignPostFilter

Detects HTTP Post Requests with referrers other than the origin

Method Summary
public string getAllowedDomains()
          Returns the list of allowed domains set in setAllowedDomains
public string getDescription()
public string getName()
public string getThreatCategory()
          Returns csrf
public numeric inspectRequest()
public void setAllowedDomains([string allowedDomains])
          Set a list of domains that are allowed to POST to this application, eg a.example.com,b.example.com. The current cgi.server_name is allowed by default

Methods inherited from filters.BaseFilter
logEnabled, ignoreVariable, getBlockLevel, init, setScopes, setFilterLevel, getFirewall, setFilterID, filterEnabled, blockEnabled, getRequestLogMessageDetail, logOnly, getFilterInstanceName, inspectVariables, setLogLevel, ignoresVariable, getFilterID, ignoreURI, filterRequest, inspectsCGIScope, getRequestLogMessage, inspectsURI, getLogLevel, setAllowDenyOrder, inspectsCookieScope, setBlockLevel, filterVariables, setFilterInstanceName, inspectVariable, allowURI, getHelp, inspectsUrlScope, getFilterLevel, denyURI, setRequestLogMessage, getFilterComponent, inspectsFormScope
 

Method Detail

getAllowedDomains

public string getAllowedDomains()
Returns the list of allowed domains set in setAllowedDomains


getDescription

public string getDescription()

getName

public string getName()

getThreatCategory

public string getThreatCategory()
Returns csrf


inspectRequest

public numeric inspectRequest()

setAllowedDomains

public void setAllowedDomains([string allowedDomains])
Set a list of domains that are allowed to POST to this application, eg a.example.com,b.example.com. The current cgi.server_name is allowed by default

Parameters:
[string allowedDomains] - A list of domains names