My app does this:
- Dash Basic authentication step
- loading data from a local file into a hidden div when building the layout
- inside a callback, it retrieves which user is loggued in (it looks like I can only do that inside a callback) and then blind specific data. The blinding strategy is user based, i.e. I must know who’s loggued in.
- Callback outputs a dash table with the blinded data, that the user can see.
Here are my questions:
Is there a way (through Development Tools in Chrome for example or any other way) for anyone to see the unblinded sensitive data in the hidden div? Where would that be?
Bonus question: I wish I could blind the data before storing in the hidden div (so the callback doesn’t have to re-apply the same blinding for the same user again and again). What could be a strategy?
Many thanks for your answers !