01-02-2009, 02:47 PM
[eluser]Michael;[/eluser]
I currently run the xss_clean() function global on all my CI apps, *just* in case ... I was looking over html purifier after reading a couple articles on the issue of xss security.
I did a search on the forums and came back with this thread:
http://ellislab.com/forums/viewthread/80680/#405862
But there is nothing in the wiki.
I also did a Google search and came across a few different links that shows how to use HTML Purifier as a library in CI:
http://mindloop.be/htmlpurifier-and-the-codeigniter-framework/
http://webcloud.se/article/Filtering_you...MLPurifier
http://www.jimohalloran.com/2007/10/24/b.../#more-716
With all this information, adding HTML Purifier as a library is relatively simple; but I would like to see if it's possible to use HTML Purifier as a replacement for XSS_Clean. Unfortunately I have no idea how to create hooks for CI, anyone wanna help me out with a walk through maybe?
Thanks.
I currently run the xss_clean() function global on all my CI apps, *just* in case ... I was looking over html purifier after reading a couple articles on the issue of xss security.
I did a search on the forums and came back with this thread:
http://ellislab.com/forums/viewthread/80680/#405862
But there is nothing in the wiki.
I also did a Google search and came across a few different links that shows how to use HTML Purifier as a library in CI:
http://mindloop.be/htmlpurifier-and-the-codeigniter-framework/
http://webcloud.se/article/Filtering_you...MLPurifier
http://www.jimohalloran.com/2007/10/24/b.../#more-716
With all this information, adding HTML Purifier as a library is relatively simple; but I would like to see if it's possible to use HTML Purifier as a replacement for XSS_Clean. Unfortunately I have no idea how to create hooks for CI, anyone wanna help me out with a walk through maybe?
Thanks.