in reply to Re^2: is this mentality safe?
in thread is this mentality safe?
Cross-site scripting attacks are dangerous because they can trick legitimate users/clients into performing actions they do have authority for, but don't want to do.
So you still need to worry about anything that can influence the client - like html/javascript in input etc. Usually, like quoting with DBI, HTML-escaping all output should go some way, but there are more complex issues.
http://www.owasp.org/ is a good resource if you're serious about web security.
|
|---|