GeekArticles
Web Programming
Java ScriptDisplaying Formatted User Input
Author: phpbuilder.com |
Published: 10th Aug 2005 |
Visited: 543 times |
Add CommentFiled in: Java ScriptYing Zhang This document describes how to display safely formatted output from user input. We will discuss the dangers of displaying unfiltered output and then provide a safe means of displaying formatted output. Download ying20000718.zip and extract it into your web documents directory. Dangers of Unfiltered Output If you just took the user's input and displayed it as is, you may break your webpage. For example, someone can maliciously embed javascript in their comment like: This is my...n
Read Article Sponsored Links
Related Articles
• Warning the User when Caps Lock is On
Most security systems' passwords are case-sensitive. Case sensitivity nearly doubles the number of possible characters that can appear in the password, which
makes it harder for nefarious users trying to break into the system. As a result, if a user logging into the system has Caps Lock turned ...
• User Experience and Design Join Sun software lead user experience designer Jeff Hoffman at his JavaOne session, Designing GUIs 101 (4968), so you can sling the slang around user-centered design with author ...