aspose file tools*
The moose likes Beginning Java and the fly likes Prevent Security Issues with User Posts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Prevent Security Issues with User Posts" Watch "Prevent Security Issues with User Posts" New topic
Author

Prevent Security Issues with User Posts

Kerry Baer
Ranch Hand

Joined: Jun 23, 2010
Posts: 39
I am writing a site that works sort of like a forum such as the JavaRanch forums. I have a Rich Text Editor I am using to allow users to write whatever they like in their post.

I'd like to allow developer posts in which code may be included. In doing so I open up the possibility of people injecting client side scripts that download malware or otherwise cause annoyances or harm to peoples computers.

What are the recommended methods for allowing people to post code without exposing your application to malicious code that will execute when end-users read their posts?

Thanks
 
 
subject: Prevent Security Issues with User Posts