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

Include The Hyphen Into This Regular Expression, How?

I have this regex: var alphaExp = /^[a-zA-ZåäöÅÄÖ\s]+$/; This is for a name-field in a form vali… Read more Include The Hyphen Into This Regular Expression, How?

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?

Javascript Activexobject

I have a queastion about ActiveXObject in javascript. I have tryed this code in Mozila FireFox 6.0.… Read more Javascript Activexobject

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

Html5 Multiplayer Game Security Solutions

Now that there are a couple of neat canvas demo's of both classic platform and even 3D fps game… Read more Html5 Multiplayer Game Security Solutions

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?

Secure Data In Javascript

I have to create generator for web tests (using HTML and JavaScript). Test has to work offline and… Read more Secure Data In Javascript

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

How To Restrict User To Open A Existing Php Page?

I am working on a problem where i want to restrict a user to open a PHP page This is my javascript-… Read more How To Restrict User To Open A Existing Php Page?

Personal Web Site Hacked On Ovh.com, Code Added In Html

My friend has a web site on ovh.com.Since a couple of days, the site is flagged as dangerous by goo… Read more Personal Web Site Hacked On Ovh.com, Code Added In Html

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

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

What Are The Security Implications Of Html5 Local Storage For Credit Card Info

Storing credit card info in web servers under my company's control creates severe security risk… Read more What Are The Security Implications Of Html5 Local Storage For Credit Card Info

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

Persist Sensitive Data In Browser? Possible?

I was wondering if these is some kind of technique so persist sensitive data out of a web app. I kn… Read more Persist Sensitive Data In Browser? Possible?

Filter Html On Php

On my client side, I have a rich text area where the user is allowed to enter HTML. Then, how on PH… Read more Filter Html On Php

What Are Security Concerns Around Use Of Canvas.todataurl?

What security threads would canvas.toDataURL generate in general? What measures we have to take to … Read more What Are Security Concerns Around Use Of Canvas.todataurl?

How To Securely Pass Data From Php Forms To Html

I have a login system which is an html form and I need to send the username and password back to th… Read more How To Securely Pass Data From Php Forms To Html

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