AppSensor DetectionPoint RE4

From OWASP
Revision as of 09:26, 1 June 2010 by John Melton (Talk | contribs)

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 ... ???
}