Connect with Facebook   
    Home  |   Learn AJAX  |   Forum  |    Register  |    Submit Resource  |   Submit Article   |   Contact Us
 

Security

Home Security

JavaScript Password Protection Options

Category: Security   |   Comments (0)

Security is probably the weakest point of JavaScript and Ajax based applications. Since JavaScript became part of the popular programming language through Ajax, various attacks have been recorded. These attacks have been very costly for many businesses and inconvenient for users.


Sponsored Links
 

 


Even with the development and increase of awareness regarding security of this form of application, attacks are still be recorded which means this is not based on ignorance – JavaScript is very easy to attack if security measures are not implemented.


But sealing the application against potential attacks is not only based on how secure your functions should be. It is also important to prevent attacks on passwords. It goes without saying that encrypting your website is entirely different in encrypting and protecting your password.


Without protection, your application is still susceptible to attacks since the passwords could be extracted and used without the users consent. This could even be more dangerous since it will reveal personal information about a single user.


There are three ways how a developer could implement security in their Ajax and JavaScript based applications:


Option 1: Server-Based Security – This type of password security basically help developers store information in the server instead of creating additional encryption on the webpage. Through this security measure, developers could concentrate on security access to the server instead of creating another security system within the application.


Although this sounds simple enough, this technique requires heavy hardware from the part of developers. Since the server will be continuously accessed by users for their username and password authentication, the application’s performance could be jeopardized if the server cannot keep up with the said demands.


Option 2: External Coding – If the server is not able to handle such requests, another technique in protecting users’ password is to implement external coding. Instead of launching the security function in the same browser, developers could let the function launch in another window. By using external coding, developers could add filters in the external coding.


The basic aim of this technique in password protection is to help developers create the source code outside the application. This will prevent attacks since the source code to track all username and password transaction is not found in the application. On the other hand, this form of technique is only based on the fact that the source code will never be noticed which could only be temporary.


Option 3: Password Encryption – The final option is to completely secure the transaction from the start. Developers could implement various encryption practices to ensure that their application will never be hacked by various attacks.


Of course, the challenging part on this option is based on the fact that this practice might be too much for many users. Securing the password will require relatively stronger gadgets so that accessibility will be faster even with constant encryption.



Sponsored Links
 

 

Password protection should always be part for many online applications especially for applications based on Ajax or JavaScript. Through these options, developers would be able to create a suitable security measure for their online Ajax based applications.



Read Next: The Danger of Using Eval() Function


 
Post Your Comment
Members - Please Click here Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification:
 
 Subscribe    

Post Your Comment via FaceBook

Connect with Facebook



 
Comments
 
 
 
 

Sponsored Links

 

Copyright © 2005 - 2010 AjaxWith.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape