AppSensor DetectionPoint RE4

Revision as of 08:28, 1 June 2010 by John Melton (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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