I would like to implement content management system with RDBMS in java/j2ee, and would like to know the best practices for handling input HTML content
Below are the few doubts I have got, am sure there are lots of other things to take care..
- Do we need to escape HTML tags and special characters before we save HTML content to database
- How do we validate/remove invalid special symbols in large input HTML content
- Best practices for displaying HTML content back to browser from database
- Any security risk involved in while handling HTML content
Looking forward to see some great ideas from gurus!