This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org

AppSensor DetectionPoint RE4

From OWASP
Revision as of 14:26, 1 June 2010 by John Melton (talk | contribs) (updated method name)

Jump to: navigation, search

Here is some sample code that can be used to detect RE3.


//the execution of this line will throw an exception if an attack is found 
boolean isValid = AttackDetectorUtils.verifyValidRequestMethod(myServletRequest, AttackDetectorUtils.GET); 
if (! isValid) {
    notify user ... ???
}