File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Cross-site scripting  error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Cross-site scripting  error " Watch "Cross-site scripting  error " New topic
Author

Cross-site scripting error

jit rath
Greenhorn

Joined: Sep 13, 2004
Posts: 2
During enter of < and > and ' and " special char in my application, throws
Cross-site scripting error throughout all editable filed.
Though i have idea Often attackers inject JavaScript, VBScript, ActiveX, HTML, or Flash into a vulnerable application to fool a user (Read below for further details) in order to gather data from them .

Whatever is there any way to encode all this char through out my application's editable filed. Pass to request


jit Rath
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Cross-site scripting error
 
Similar Threads
Reg: Java Web Application Security
How to prevent cross site scripting attack ?
about URLEncoding
Security Remediation in My current application
Avoid Cross site scripting in Jsp