vmcruz Posted November 21, 2014 Share Posted November 21, 2014 I know this is hardly possible. What I need to do is a single page which will store data with FileSystem api from Chrome. This data has to be protected somehow but I have no clue how to solve this. Is there any way that one could have like a "login form", but, in back-end protect the password for possible attackers?. I know that being a single page coded in javascript is by itself vulnerable, but is there any definitive way to do this?. I know you all will think as me: that eventually the "login" wil be cracked from its source code. And If that's the case then I'll drop this idea. But I'm here hoping to read something else. Thanks in advance for your comments. Quote Link to comment Share on other sites More sharing options...
ericjbasti Posted November 21, 2014 Share Posted November 21, 2014 If you're using the FileSystem api the files are on the users computer. Why do you need to protect them? Quote Link to comment Share on other sites More sharing options...
vmcruz Posted November 21, 2014 Author Share Posted November 21, 2014 Multiple users, single computer, single page. Note: I posted it here because this is the major forum I know where the comunity really knows JS. Quote Link to comment Share on other sites More sharing options...
vmcruz Posted November 22, 2014 Author Share Posted November 22, 2014 I ended up using IndexedDB. Gives me more control over data. Thanks for the comment. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.