client icon indicating copy to clipboard operation
client copied to clipboard

Separate sessions by account address

Open mhuggins opened this issue 7 years ago • 2 comments

Describe the solution you'd like and the expected behavior

If the same client is used for multiple addresses, then separate sessions should be used.

Is your feature request related to a problem? Please describe.

Switching between addresses maintains a session from a prior address, which is not ideal for security and privacy reasons.

Possible implementation / References

The webview element provides a partition attribute, which could be set to the currently authenticated NEO address.

Before doing so, some research should be done to ensure that the session can't easily be spoofed by simply changing the redux store to a different address in memory. One option might be to use a hash based upon the private key, as long as the existing partitions can't be determined by looking through chrome/electron cache files.

mhuggins avatar Jul 22 '18 15:07 mhuggins

Before doing so, some research should be done to ensure that the session can't easily be spoofed by simply changing the redux store to a different address in memory. One option might be to use a hash based upon the private key, as long as the existing partitions can't be determined by looking through chrome/electron cache files.

After thinking about this, I think it's okay that we simply use the partition attribute as is. When a user wants their information to be secure from other users of the same system, they should be using their own system account such that their files are protected and only accessible by that user.

mhuggins avatar Jul 29 '18 15:07 mhuggins

Anonymous sessions should also be an option. I think this will become more readily available with this feature?

deanpress avatar Nov 16 '18 15:11 deanpress