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

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

How Does Jsfiddle Allow And Execute User-defined Javascript Without Being Dangerous?

I've been working on a JS library and would like to setup a demo page on Github that allows, fo… Read more How Does Jsfiddle Allow And Execute User-defined Javascript Without Being Dangerous?

Ember Best Practices For Loading Javascript/app Only After Authentication

Starting a new Ember app and was prepared to follow token authentication type structure for authent… Read more Ember Best Practices For Loading Javascript/app Only After Authentication

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 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

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?

Security Considerations For Javascript/php Registration Email Confirmation Workflow

I am building a user registration workflow for my JavaScript/PHP website. Once the user registers, … Read more Security Considerations For Javascript/php Registration Email Confirmation Workflow

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?

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

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?

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

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

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?

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

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

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

Decrypt Javascript Source

I have been wrote a javascript code and encrypt it.it is similar to this : var _0xbf1b = ['\x2F… Read more Decrypt Javascript Source

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

Javascript Global Variables - Protection

I am using some global variables on a web application, built on Html/Javascript. I am using these v… Read more Javascript Global Variables - Protection