hackchat-client
hackchat-client copied to clipboard
Implement local storage handling
Local storage should be used to save the users nick and password, along with other settings ( #12 ). This data should be loaded into the redux store when the app starts. This may also tie into #6
The data in local storage could be accessed by different users if the computer is shared. How can we ensure the sensitive portion of the stored data is cleared when a user is finished using hack.chat?
I have seen this concern raised a few times in the past, because this is the same behavior that the legacy client uses. There are very few options available to address the concern. Do you have any suggestions?
In my opinion I wouldn't store sensitive information in local storage but if the legacy client does this currently then we could implement a clearing mechanism to ensure the data is deleted
The data could be automatically deleted when the user closes hack.chat or alternatively a button could be provided for the user to click. I'm not sure which approach is best. What are your thoughts?
Since this is a different issue, I've opened up a different case, #28 where we can discuss it further.