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

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

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();

Ssl Login In Iframe

My UI prototype requires me to show the sites login info all the time. Either I should show the usu… Read more Ssl Login In Iframe

Why Are Cross Origin Workers Blocked And Why Is The Workaround Ok?

Recently I worked on a library that supports using workers for some heavy lifting. I found out that… Read more Why Are Cross Origin Workers Blocked And Why Is The Workaround Ok?

How Can I Clean And Sanitize A Url Submitted By A User For Redisplay In Java?

I want a user to be able to submit a url, and then display that url to other users as a link. If I … Read more How Can I Clean And Sanitize A Url Submitted By A User For Redisplay In Java?

Why Is It Dangerous To Render User-generated Html Or Javascript?

I don't know if this is really dangerous, but, as Google does it with its HTML and Javascript s… Read more Why Is It Dangerous To Render User-generated Html Or Javascript?