Re: Re[4]: [PHP] Re: Security, Late Nights and Overall Paranoia

From: Date: Mon, 11 Jul 2005 16:06:51 +0000
Subject: Re: Re[4]: [PHP] Re: Security, Late Nights and Overall Paranoia
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-218452@lists.php.net to get a copy of this message
On 7/11/05, Richard Davey <rich@launchcode.co.uk> wrote: > u wanted to allow a user to say colour a piece of text red, > they'd have to enter <span style="color: red">x</span> to make it I wouldn't know, <span> isn't one of the tags I allow. > happen? Poor bastards (never mind the fact I'd love to see you use > less CPU cycles to perfectly validate that tag than say [red][/red]). I don't bother with perfect tag validation, and I doubt the phpbb bbcode people do either since they average about 2-3 exploits a month on Bugtraq. I allow a specific set of safe html tags and I provide a preview function. Even after that, if the user goofs up I allow a specific time span in which to edit the post to correct the goof. -- Greg Donald Zend Certified Engineer MySQL Core Certification http://destiney.com/

« previous php.general (#218452) next »