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

What Exactly Can An Iframe Do With The Top.location Object (cross-domain)?

There is a very particular edge case in cross-domain policies regarding the window.top.Location obj… Read more What Exactly Can An Iframe Do With The Top.location Object (cross-domain)?

Html5 Offline Authentication

I am looking for advice/criticism on how best to control access to an HTML5 application that is use… Read more Html5 Offline Authentication

Check The Content Of File Before Upload

I have to check the Content of a zip/rar file before uploading to the server. Let me explain the sc… Read more Check The Content Of File Before Upload

Having A Public Api But Only Allowing Access To Requests Sent From My Website

I have been searching on Google and SO for hours now but without finding the someone with the same … Read more Having A Public Api But Only Allowing Access To Requests Sent From My Website

Safe Mysql Password On Shared Hosting

I've made a simple web page for business clients that operates on MySQL database used mainly by… Read more Safe Mysql Password On Shared Hosting

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

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?

Oauth2 Without Client Secret – Possible Phishing?

I've been reading the OAuth2 specs over and over, but I can't figure out one thing. Isn'… Read more Oauth2 Without Client Secret – Possible Phishing?

How Do I Secure Socket.io?

I've been working with Socket.IO for a few days and it's been both extremely exciting and e… Read more How Do I Secure Socket.io?

Use Eval Without Threat Of Xss

I was making(not now, but still I'm curious about this one) a game using HTML5 and JS, and one … Read more Use Eval Without Threat Of Xss

In General, In Javascript, Isn't Using Innerhtml An [in]security Issue?

with the DOM and cool new tools such as reactjs, should innerHTML ever be used in a javascript prog… Read more In General, In Javascript, Isn't Using Innerhtml An [in]security Issue?

Why Is Writing To The Clipboard In Js Considered A Security Hole?

It seems there is currently no pure JavaScript method for accessing the system clipboard using most… Read more Why Is Writing To The Clipboard In Js Considered A Security Hole?

Using Public/private Keys In Javascript

I need to send an ajax POST request to my server. I'll need to make sure that the request origi… Read more Using Public/private Keys In Javascript

Difference Between ")]}',\n" And "{} &&" In Avoiding Json Hijacking

In reading about how to avoid json hijacking I've come across various methods including POSTing… Read more Difference Between ")]}',\n" And "{} &&" In Avoiding Json Hijacking

How To Get The Referrer Url Of Post Request In Php?

I'm developing a php website, where users are allowed to add products with descriptions, images… Read more How To Get The Referrer Url Of Post Request In Php?

Is It Safe To Expose The Aws Cognito Ids?

I'm using the client-side Cognito Javascript SDK. Part of the setup requires configuring regio… Read more Is It Safe To Expose The Aws Cognito Ids?

Why Can't An Iframe Set Its Parent's Location.hash?

I have a window containing an iframe, containing an iframe, like so: +---------------+ | Top … Read more Why Can't An Iframe Set Its Parent's Location.hash?

Lib To Protect SQL/javascript Injection For Java/jsp

Anyone know a good lib where i can run the strings before they are inserted, that can strip out sql… Read more Lib To Protect SQL/javascript Injection For Java/jsp

Avoid ActiveX To Save A File

There is a function that returns an array from a table: GetFilteredData: function() /*========… Read more Avoid ActiveX To Save A File

Detecting SSL Browser Support

How can you detect if the client browser has SSL support? I am not refering to the server Variables… Read more Detecting SSL Browser Support