Topic: CSS Filtering (Page 1 of 1) Pages that link to <a href="" title="Pages that link to Topic: CSS Filtering (Page 1 of 1)" rel="nofollow" >Topic: CSS Filtering <span class="small">(Page 1 of 1)</span>\

Paranoid (IV) Inmate

From: Kansas City, MO , USA
Insane since: Feb 2002

IP logged posted posted 08-23-2007 05:31 Edit Quote

On my site,, i have just implemented profile customizing.

My question, has anyone here ever made a PHP CSS filter? I want to ONLY allow a handful of classes and a few id's, so that people can't totally hack up the site with CSS. If no one has done this, do you know of a good place I can start looking for information on this?

Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

IP logged posted posted 08-23-2007 09:03 Edit Quote

mmh, to save the trouble of parsing and filtering the CSS in PHP, crazy task if you ask me, you could easily load the basics of your site's CSS last and set the important rules/properties as such ( !important ).

I could ask if they do anything on but I'd be surprised since it's really easy to visit a page with CSS off to revert a fcuk up.

Post Reply
Your User Name:
Your Password:
Login Options: Remember Me On This Computer
Your Text:
Options: Show Signature
Enable Slimies
Enable Linkwords

« BackwardsOnwards »

Show Forum Drop Down Menu