-
-
Notifications
You must be signed in to change notification settings - Fork 596
Encrypt Current User - LocalStorage #967
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Sorry for the late reply. That secure-ls trick looks cool. The currentUser isn't stored in the localDatastore. This is the line you are looking for. |
If you want you could do the same for setting the StorageController Feel free to do a PR. |
Hello @dplewis 🖖 Sure let me try it. 👌😁 |
I would like to add SecureLS to the SDK but I’m skeptical. StorageController is swappable so we could have that option. @acinader @davimacedo Thoughts? |
Off the cuff, just documenting it on the readme and maybe the js sdk guide how to use it would be a decent first step? alternatively, we could make an argument to initialize or a single call to use it wheen Parse SDK is initialized? |
I figure it could be the same as setAsyncStorage for React-Native. Secure LS has browser support issues i.e Microsoft Edge (insert rant here). I can open a PR for this and we can move the conversation there. @macarthuror what do you think? |
@acinader I'm gonna documented it in the Readme. Thanks. @dplewis I like it, also I think we can use other solutions to improve the security without using other repo. BTW @davimacedo suggest trying with |
I'm going to close this as users can add their own storage implementation if needed. |
Hello guys 🖖,
Right now I’m trying to encrypt the data which is storage in the browser and I’m using secure-ls , actually is working fine but only is encrypting the ping data not the Current User.
Do you have any idea of how to do it ?
Thanks and have a good day.
BTW. This is the code I’m using
The text was updated successfully, but these errors were encountered: