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

Compare Array Of Words To A Textarea Input With Javascript

I have a textarea inside a form. Before the form is submitted, the textarea is validated and checke… Read more Compare Array Of Words To A Textarea Input With Javascript

Secure Browser-side Cache In Local Storage

To make the question clear: is the proposal below considered 'secure'? (i.e. doesn't in… Read more Secure Browser-side Cache In Local Storage

Prevent Others From Calling Your Json Web Service

Let's say I have some code that creates an HTML page with a JSON service call. How can I preven… Read more Prevent Others From Calling Your Json Web Service

Data Filtering, Sanitation, And Validation For Html-allowed Inputs

I've found a lot of info on sanitizing, filtering, and validating forms when it comes to simple… Read more Data Filtering, Sanitation, And Validation For Html-allowed Inputs

Show Html User Input, Security Issue

On my website, users will be able to input html tags for the content so the text can be bold, itali… Read more Show Html User Input, Security Issue

Is It Secure To Blindly Trust Image Urls And Output Them Into Html Img Tags On A Site? Can It Be Used To Inject Code?

I have to process a feed from a data provider, in this feed they provide us with image URL, current… Read more Is It Secure To Blindly Trust Image Urls And Output Them Into Html Img Tags On A Site? Can It Be Used To Inject Code?

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