1.11M Members

Html5 storage

 
0
 

Hi, I'm coding a game, i have a form to create player. I use html5 storage to create this. But the problem is if you go to tools>local storage, the password is visible. I want to implement some sort of security to hide this password in javascript. Can someone tell me which security algorithm is better to implement?

 
0
 

It's JavaScript. You could write an algorithm that encrypts the password, but then the algorithm is visible meaning you can still (eventually) get the password, not to mention, you'd have to implement something to decrypt it, which becuase it's javascript, I would be able to use.

Don't bother trying to do this. If you want it to be more secure, use server side.

 
0
 

What u mean by server side?

 
0
 

the reference to server-side is to a language such as PHP, ASP.NET, JAVA, etc...

 
0
 

ok can you tell me more how to do it with php?

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article