Problem Using ESAPI Library to Prevent XSS

 I am trying to prevent XSS attacks on my website for this, I am using the OWASP ESAPI library. I added jar for this library in pathpath and I get the following error.

Trying to load ESAPI.properties through the io file.
Trying to load ESAPI.properties through the io file.
Not found in org.owasp.esapi.resources directory or file that cannot be read: F: \ eclipse \ ESAPI.properties
Not found in SystemResource Directory / resourceDirectory: .esapi \ ESAPI.properties
Not found in 'user.home' directory: C: \ Users \ juzer.esapi \ ESAPI.properties
Downloading ESAPI.properties through the io file failed.
Trying to load ESAPI.properties through the classpath.
ESAPI.properties cannot be loaded by any means. to fail.

thank

+3
source share
2 answers

, ESAPI.properties. . , WEB-INF/classes.

ESAPI.properties.

+3

ESAPI.properties antisamy-esapi.xml " -" /src/java. , " -" /build/web/WEB -INF/classes

0

Source: https://habr.com/ru/post/1784824/


All Articles