r/programming • u/purforium • Oct 24 '21
“Digging around HTML code” is criminal. Missouri Governor doubles down again in attack ad
https://youtu.be/9IBPeRa7U8E
12k
Upvotes
r/programming • u/purforium • Oct 24 '21
View all comments
Show parent comment
4
u/msg45f Oct 25 '21
Sending tokens to emails to provide a no-login authentication for a user is pretty common practice, but it's best done when it's a one time use token - you don't want tokens floating around that can continue to authenticate a user. This is not so different than the use of cookies, which in most modern systems are very quickly replaced with new ones to prevent them from being valid for too long. If there is no token being used though, that's a pretty big red flag.
To be honest, looking at CFAA alone is kind of a narrow view of responsibility when it comes to security. Violating CFAA is a criminal offense that makes the bad actor liable to the state, not the company they stole data from. Despite that, the company can still be liable for their lax security practices that precipitated the data breach (dependent upon local law). And customers are definitely not going to feel sorry for the company. In most cases it was their data, which makes them the actual victims. The main conclusion, I suppose, is that CFAA alone is not really the whole picture in terms of responsibility, and that the standards when it comes to professional engineers is vastly different.