FuseGuard Logo

fuseguard.components.filters
Component ScopeInjectionFilter

filters.BaseFilter
  |
  +--filters.ScopeInjectionFilter

This filter validates that input variables names dont use scopename.

Method Summary
public array getConfigurables()
          Returns a list of configurable properties
public string getDescription()
public boolean getIgnorePrefixList()
          Returns true if strictMode is enabled see setStrictMode
public string getName()
public boolean getStrictMode()
          Returns true if strictMode is enabled see setStrictMode
public string getThreatCategory()
          Returns validation
public numeric inspectRequest()
public numeric inspectVariable([variableName scope], [any varName], [any value])
public void setIgnorePrefixList(string prefixList)
          A list of prefixes that are allowed, eg fusebox,foo allows input variable names like fusebox.x and foo.x
public void setStrictMode(boolean strictMode)
          When set to true any variable with a dot in its name is blocked

Methods inherited from filters.BaseFilter
inspectsCookieScope, logEnabled, inspectsFormScope, inspectsRequestBody, setFilterWhitelist, setFilterInstanceName, getFilterLevel, getLogLevel, setScopes, getRequestLogMessage, allowURI, inspectsURI, ignoreURI, inspectsRequest, inspectsCGIScope, setIgnoreVariableList, getHelp, getRequestLogMessageDetail, setAllowDenyOrder, getIPWhiteListID, setRequestLogMessage, init, setFilterLevel, filterRequest, blockEnabled, getFilterID, inspectsUrlScope, getFirewall, setAllowURIList, filterEnabled, filterVariables, logOnly, getFilterInstanceName, getFilterComponent, getIPWhiteListProvider, setIgnoreURIList, setFilterID, getBlockLevel, ignoreVariable, denyURI, inspectResponse, hasIPWhiteList, setLogLevel, inspectVariables, setBlockLevel, ignoresVariable
 

Method Detail

getConfigurables

public array getConfigurables()
Returns a list of configurable properties


getDescription

public string getDescription()

getIgnorePrefixList

public boolean getIgnorePrefixList()
Returns true if strictMode is enabled see setStrictMode


getName

public string getName()

getStrictMode

public boolean getStrictMode()
Returns true if strictMode is enabled see setStrictMode


getThreatCategory

public string getThreatCategory()
Returns validation


inspectRequest

public numeric inspectRequest()

inspectVariable

public numeric inspectVariable([variableName scope], [any varName], [any value])
Parameters:
[variableName scope]
[any varName]
[any value]

setIgnorePrefixList

public void setIgnorePrefixList(string prefixList)
A list of prefixes that are allowed, eg fusebox,foo allows input variable names like fusebox.x and foo.x

Parameters:
string prefixList

setStrictMode

public void setStrictMode(boolean strictMode)
When set to true any variable with a dot in its name is blocked

Parameters:
boolean strictMode