3 ms·
> If you need to restrict access to a field (e.g. social security number) such that only certain users can see it, you need the authorization check twice, once
by slackwalker 9y ago
> If you need to restrict access to a field (e.g. social security number) such that only certain users can see it, you need the authorization check twice, once when writing the JSON and again when building the HTML.
I think the article may have some points worth considering, but in what world should security code for restricting access to display a social security number ever be in the browser? The browser should never get data that it would be dangerous for the user to have access to.