One security rule I've learned that instead of blocking known problems
(ala virus definitins), one should only allow safe stuff and block
everything else.  In your case, instead of blocking iframe, and then
later finding out something else is a problem, create a small list of
formatting tags that you want to allow, and block /everything/ else.  A
simple regular expression will do this for you.  Search the archives,
I've seen a few questions where folks have done this.

> -----Original Message-----
> From: Brad Wood [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 27, 2006 5:16 PM
> 
> I would have to now allow certain tags like iframe.  I use soeditor to
> allow the users to format their post, so basic formatting 
> tags would be
> ok, but I agree there is no need for JS, or other tags like iframe.
> 
> -----Original Message-----
> From: Snake [mailto:[EMAIL PROTECTED] 
> Sent: Friday, October 27, 2006 6:03 PM
> 
> You should have your guestbook not allow tags, or at least not allow
> javascript.

------------------------------------------------------------------------------
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you. 

==============================================================================
"EMF <idahopower.com>" made the previous annotations.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:258359
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to