3 ms·
Status codes are not reliable indications of authorization at all. If you steal someone's password, the server will give you 200's all day long, even though you
by snowwrestler 11y ago
Status codes are not reliable indications of authorization at all. If you steal someone's password, the server will give you 200's all day long, even though your entire session would be unauthorized.
- AnthonyMouse 11y agoBut you know you've stolen somebody else's password. It isn't a grey area. The server is telling you that that user is authorized, which is true, and you know that that user is not you. If you want to take the narrow interpretation of the CFAA without making it a dead letter, that is how you violate it.
- snowwrestler 11y agoEither HTTP status codes are reliable indicators of legal authorization--generally, to all observers--or they are not. Obviously they are not, since they fail to identify what you acknowledge would be a clear violation. To go back up the thread, these quotes are contradicted by the stolen password scenario: "The canonical way people know whether they're authorized to do something to a computer system is that it allows them to do it. If you aren't authorized then it comes back with "access is denied" and you can't do it." "Does sending an HTTP request and receiving an HTTP 200 response code indicate that you're authorized? IMO, yes." Look, I agree that the CFAA is too vague and therefore places a chilling effect on legitimate computer science research. I'm just saying: HTTP status codes are not the answer. The answer to a problematic law is to remove or improve the law.