Subscribe
Tutorial search

JavaScript Security Tutorials


We hope that you will enjoy our JavaScript Security tutorials. Feel free to contact us if you would like to be a tutorial hero and contribute your own JavaScript Security tutorial to our site. Thank you !

Sort by:
Learn how to detect browser in javascript
Learn how to detect browser in javascript
In this programming tutorial you will learn how to detect the browser in javascript. Browser detection is a very important part of the web development. Sometimes it can be very handy to detect the visitor's browser and then serve the suitable information. Letís have a look over the javascript code given below. This code will give you the exact browser name and its version.
Difficulty:
Javascript Injection
Javascript Injection
I will only cover form editing in this tutorial. Cookie editing is only useful for the more sophisticated attacks; I'll discuss that later.
Difficulty:
Check your IP
Check your IP
But you have to use .shtml extension not .html or .htm because it uses server side includes.
Difficulty:
Random password generator script using javascript
Random password generator script using javascript
This script will generate passwords randomly using simple javascript.Here is the complete code Here i am giving the password length as 8, you can easily dynamically or manually change this value.
Difficulty:
Password protect pages using javascript
Password protect pages using javascript
Hello guys here is a simple code on how to password protect a webpage using javascript.This is not a good idea coz it is not at all secure.But simply just like that a webpage which is protected using simple javascript is fun
Difficulty:
Battling Web spam
Battling Web spam
Spam on the Web is one of the biggest threats to a modern Web developer. The "bad guys" become more and more sophisticated every year in how to vandalize and proliferate ads over any Web 2.0 page they can grasp. This two-part installment provides a thorough guide to anti-spam techniques. This first article explains how to assess whether a visitor is a spammer and how to organize site workflow to discourage spam.
Difficulty:
Stop hackers from launching cross-site scripting attacks
Stop hackers from launching cross-site scripting attacks
Cross-site scripting (XSS) is one of the most common application-level attacks that hackers use to sneak into Web applications. Learn how hackers launch an attack, what damage it does, how to detect them, and how to prevent your Web site and your visitors from these invasions of privacy.
Difficulty:
Three Tries Password protection
Three Tries Password protection
Three Tries Password protection
Difficulty:
Cookie Password Protection
Cookie Password Protection
Cookie Password Protection
Difficulty:
Gatekeeper Password Protection
Gatekeeper Password Protection
Gatekeeper Password Protection
Difficulty:
Login Coder Password Protection
Login Coder Password Protection
Login Coder Password Protection
Difficulty:
Password Pro Password Protection
Password Pro Password Protection
Password Pro Password Protection
Difficulty:
Multiple Users Password Protection (Login Table)
Multiple Users Password Protection (Login Table)
Multiple Users Password Protection (Login Table)
Difficulty:
Password Prompt Password Protection
Password Prompt Password Protection
Password Prompt Password Protection
Difficulty:
Agree Before Entry
Agree Before Entry
Agree Before Entry
Difficulty:
Total Tutorials in Category: 29