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

Security Modifing App State From Javascript

I have a question about how to develop my web application security. Assuming that all the javascrip… Read more Security Modifing App State From Javascript

Decode This Strange Javascript

I came across this code in a .js file. What is this code ?? I have downloaded that file onto my lo… Read more Decode This Strange Javascript

Is Addslashes() Safe To Prevent Xss In A Html Attribute?

I'm having to work on an old web app that a previous developer left. It is using addslashes() t… Read more Is Addslashes() Safe To Prevent Xss In A Html Attribute?

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

Can I Protect Native Javascript Functions

Is there any way to prevent a user from overriding a native function? Example: var getRand; (functi… Read more Can I Protect Native Javascript Functions

Frame Onkeydown Feedback

I'm trying to do a PoC for a Cross Frame Scripting attack (https://www.owasp.org/index.php/Cros… Read more Frame Onkeydown Feedback

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

Web Authentication - How To Securely Transfer Username/password From The Client To The Server

I have a web application (Java) that I am trying to launch. The user needs to login to the system t… Read more Web Authentication - How To Securely Transfer Username/password From The Client To The Server

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

Securing Websockets

Right now our application is designed to facilitate all communication via websockets after the init… Read more Securing Websockets

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

Tinymce Security Question: How Do You Prevent Malicious Input?

How do you prevent malicious input in WYSIWYG editors like TinyMCE? I have a system with users who … Read more Tinymce Security Question: How Do You Prevent Malicious Input?

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?

Meteor: Limiting Ddp Connections With Ddp-rate-limiter Package

I am trying to prevent a user to be able to call a Meteor method too often with the Meteor package … Read more Meteor: Limiting Ddp Connections With Ddp-rate-limiter Package

Why The Browser Doesn't Send Cookies While Requesting A Javascript File?

I'm loading [site1]/script.js on [site2]/page.html with script tag. And the browser does not se… Read more Why The Browser Doesn't Send Cookies While Requesting A Javascript File?

How To Protect/hide Javascript Method Or Js File From User To View

How can I protect my implemented JS methods from user? So that no one could copy these methods. Nor… Read more How To Protect/hide Javascript Method Or Js File From User To View

Change Text To Dots In Text Field With Css/javascript

Is there a way to 'mask' the input of a text field to act like a password field (to show d… Read more Change Text To Dots In Text Field With Css/javascript

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?

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?

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