File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Engineering » Security
Bookmark "Securing the response from CRLF" Watch "Securing the response from CRLF" New topic

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 !!!

I agree. Here's the link:
subject: Securing the response from CRLF
It's not a secret anymore!