Open nicolaskruchten opened 6 years ago
@nicolaskruchten Can this be closed now that dash-core-components has a new Store
component?
No, because the data stored there is still unencrypted :)
Hi guys,
Nice to see this discussion. This is exactly what I am looking for, a dcc.Store that has the capability to encrypt and decrypt its data, and it will probably help a lot of developers
@AnnMarieW will dcc.Store
do encryption these days?
No, this feature is still not available, but I could see how it could be useful.
Gonna pop in here, encryption is a good thought, but what has to do the decrypting?
dash-extensions
?A couple of notes:
dcc.Store
is stored in memory, you cant view it unless you access the React props, but getting to this nested Store would be a bit of a chore, although possible.dcc.Store
, which means that the developer would be responsible for maintaining the secureness of their keys for the process
We should have a better/safer way of storing data on the client than CSS-invisible
html.Div
components, for sensitive data that not all users should see/have access to. I propose a newdcc.Store
component which wouldn't render in the DOM and which would transparently encrypt/decrypt itsdata-*
props on the server.254 was a first cut at implementing this in
dash.py
and some design discussion is available there. It seems like the way forward here is to make the base component class extensible with server-sidetransform
/inverse_transform
extension points.@chriddyp is there an existing issue that captures other needs/thoughts around the base component extension idea?