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

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?

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?

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

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?

Javascript Activexobject

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

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

How To Save Unauthorised Manipulation In A Javascript

I wrote a server-client app in javascript/HTML5 its supposed to allow clients to communicate/play a… Read more How To Save Unauthorised Manipulation In A Javascript

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

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

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

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

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

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?

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

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

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

How To Change Clients' Site Dynamically?

So, going from the discussion here where I was soundly rebuked and for good reason. I want to give … Read more How To Change Clients' Site Dynamically?

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

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

Is It Safe To Put An Id (will Insert In Db) Into A Hidden Input?

Here's the summary of my code: My website basically just loops the content of all the rows of … Read more Is It Safe To Put An Id (will Insert In Db) Into A Hidden Input?