Better HN
topnewbestaskshowjobs
Log inSign up

throwawaymoddle

10 karma · joined Oct 16, 2022 (4y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

Sensitive data is not restricted to logins. If you are pulling in third party JS like for analytics, tracking, social, whatever then that is an attack vector. Marketing and business teams aren't responsible for security but they have the muscle to pull in dangerous code to the frontend that can be swapped out. It is naive to think that the API is the only thing to focus on.

comment 4y ago · link · parent

> Only the API needs to be secure.

If users type passwords, sensitive data, anything into the frontend then any javascript, plugins etc pulled in by that page is an attack vector.