Josh Chamas
Fri, 30 Jan 2004 10:16:07 -0800
Hi,
Are there any methods/flags/options available in Apache::ASP to help the developer protect against cross-site scripting?
Any other recommendations in this area?
Any bit of dynamic data ( i.e. data you can't trust ) rendered on your page should be escaped with
# global.asa
sub esc($) { $Server->HTMLEncode(shift) }sub my::enc {
my($args, $html) = @_;
print $main::Server->HTMLEncode($html);
}________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checker http://www.nodeworks.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]