File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Security and the fly likes Securing the response from CRLF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Securing the response from CRLF" Watch "Securing the response from CRLF" New topic
Author

Securing the response from CRLF

ravisha andar
Ranch Hand

Joined: Feb 25, 2011
Posts: 55
Hi All,

If i have
response.setHeader("Content-Type--------- attchmenet filename="+fileName);

How do i secure this from CRLF ?

Some say validate input and encode the url.

How do I Encode the Url...

Please help me understand this better..........


Any help is highly appreciated !!!

Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Securing the response from CRLF
 
Similar Threads
How do I secure my response header from CRLF
encoding URL in (href element of) JSP without scriptlets
sending image to server using HTTP connection
how to encode the url in strut2
regex question