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

Prevent User-entered Scripts From Running In Webpage

In my application, there is a comment box. If someone enters a comment like then an alert appea… Read more Prevent User-entered Scripts From Running In Webpage

Html: Should I Encode Greater Than Or Not? ( > > )

When encoding possibly unsafe data, is there a reason to encode >? It validates either way. The… Read more Html: Should I Encode Greater Than Or Not? ( > > )

Some Chars Encoded During Post While Others Are Not

TL;DR CodeIgniters' Security Class directly manipulates your Globals such as $_POST and it find… Read more Some Chars Encoded During Post While Others Are Not

Using Html Purifier On A Site With Only Plain Text Input

I would appreciate an answer to settle a disagreement between me and some co-workers. We have a typ… Read more Using Html Purifier On A Site With Only Plain Text Input

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

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

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

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