Skip to content Skip to sidebar Skip to footer
Showing posts with the label Xss

Avoiding Xss When Echoing Posted Html

I have a web page which needs to do the following: dynamically create an HTML fragment using JavaS… Read more Avoiding Xss When Echoing Posted Html

Php How To Echo Without Html Tags

I have a sort of system where everybody can type whatever he wants. Though, they can also seem to u… Read more Php How To Echo Without Html Tags

Using Jquery To Disable Css Inheritance

Is there a way to use jQuery (or generic javascript) to disable CSS inheritance on a block level? F… Read more Using Jquery To Disable Css Inheritance

Sanitize Html5 With Php (prevent Xss)

I'm building WYSIWYG editor with HTML5 and Javascript. I'll allow users post pure HTML via … Read more Sanitize Html5 With Php (prevent Xss)

Filtering Javascript Out Of Html

I have a rich text editor that passes HTML to the server. That HTML is then displayed to other user… Read more Filtering Javascript Out Of Html

How To Use Htmlpurifier To Allow Entire Document To Be Passed Including Html,head,title,body

Given the code below, how do I use htmlpurifier to allow the entire contents to pass through. I wan… Read more How To Use Htmlpurifier To Allow Entire Document To Be Passed Including Html,head,title,body

Writing Xss Filter For (x)html Based On White List

I need to implement a simple and efficient XSS Filter in C++ for CppCMS. I can't use existing h… Read more Writing Xss Filter For (x)html Based On White List

Making User-made Html Templates Safe

I want to allow users to create tiny templates that I then render in Django with a predefined conte… Read more Making User-made Html Templates Safe