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

Get Security Error When Saving Canvas Object Into An Image

Well not exactly. If I just draw (ex lines,rect...) and try to export the canvas as an image. It wo… Read more Get Security Error When Saving Canvas Object Into An Image

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

Why Can't We Have Some Antixss Literal Html Tag

Nowadays I am learning about web security, XSS, etc. As XSS basically targets a client-agent (web b… Read more Why Can't We Have Some Antixss Literal Html Tag

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

Iframes And Same-origin-policy And Reverse Proxy Hack

I have been reading up on Iframes with different domains then the parent document and I am slightly… Read more Iframes And Same-origin-policy And Reverse Proxy Hack

Php "session_regenerate_id" And Authentication Of Users

I am creating a login-function on my website, and I am thinking about regenerating the session ID o… Read more Php "session_regenerate_id" And Authentication Of Users

Is It Possible To Read Local Variables Of Parent Stackframes?

Scenario: I am working on Javascript code that allows running arbitrary user-supplied code in a web… Read more Is It Possible To Read Local Variables Of Parent Stackframes?

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

How To Detect Hidden Field Tampering?

On a form of my web app, I've got a hidden field that I need to protect from tampering for secu… Read more How To Detect Hidden Field Tampering?

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?

Can Hidden Fields Be Edited By The User?

adding in security questions so that users may reset their passwords if they exceed maximum attempt… Read more Can Hidden Fields Be Edited By The User?

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

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?

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

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

Javascript Activexobject

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

Sql Preventation Of Xss

Hey guys so Ive got a question, is there a something I could use when inserting data into the SQL t… Read more Sql Preventation Of Xss

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

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

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?