answersLogoWhite

0

How do you create site password with JavaScript?

Updated: 8/21/2019
User Avatar

BryanJames16

Lvl 1
10y ago

Best Answer

JavaScript is an exceptionally poor choice for password protection. By its very nature it runs on the user's computer, which means an even minutely clever user can see it.

If you want passwords that aren't trivial to get around, use a server-side language (PHP or Ruby On Rails might be good choices) to check the passwords against a database (with code properly protected against SQL injection, preferably with stored procedures).

User Avatar

Wiki User

10y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you create site password with JavaScript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you create your mobile open chat site?

reset password


How do you check length of password using javascript?

Use the length property of string in javascript.


How do you create a username and password on clubnintendo?

If you want logon, you have to access their site.


What is the password to spinout182's site?

You will have to be more specific. The web site spinout182.com does not require a password. If you are looking to get into the forum there, you just register and create your own password. If that is not what you are asking about, you will have to provide more information to differentiate it from the site listed above.


Can Javascript create 3D?

Javascript is a browser-run script, so I highly doubt that Javascript possesses the capabilities to create 3-D images, but it can input them into the webpage.


Is JavaScript or Dreamweaver better?

Not comparable. JavaScript is a programming language. Dreamweaver is an application (which you can use to create pages with javascript, html, etc.)


Is howrse a locked website?

no, you don't have to have a password to get on the site, but you have to create an account (which is free) in order to play


How do you create a simple JavaScript message inside the HTML?

You need to type the following code to create a simple JavaScript message inside the HTML


How do you get msn password?

You create your password when you create your account.


How can you create a secure password?

If the site lets you, choose 4 words at random from the dictionary (or a Diceware list) and type them as your password. A longer password made of random words is far better than a short password with "funny characters".


What is the password to Answers.com?

you have to create your own password. create an account.


Where can one learn javascript?

There are many places where one can learn JavaScript. One can go to the Code Avengers website or one can go to the Codeacademy site or one can go to the Code School site.