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

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

Sanitize All Scripts From Html String

The HTML5 clipboard is awesome, but I am looking for a way to make it safe. The user is pasting tex… Read more Sanitize All Scripts From Html String

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

Php Security - Combining Functionality Of Strip_tags(); & Htmlspecialchars();

I want my forum users to be able to insert links and other allowed tags. For example I would like t… Read more Php Security - Combining Functionality Of Strip_tags(); & Htmlspecialchars();

Prevent Xss But Allow All Html Tags

I am building a blog and currently im finishing the admin panel. Since i will be mostly who will be… Read more Prevent Xss But Allow All Html Tags

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

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

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