4 ms·
> But we all know the reality: people are imperfect and therefore so is their technology. A server could return a 200 status on a page that you are not authoriz
by AnthonyMouse 11y ago
> But we all know the reality: people are imperfect and therefore so is their technology. A server could return a 200 status on a page that you are not authorized to see.
That's the whole problem. 99+% of the time the status code is correct and the server will give you the data if it's supposed to but not if it isn't. It's generally quite reliable and people are expected to and do rely upon it -- that's what it's for.
But 100% of the cases that end up in court will be in the <1% where the server made a mistake.
If we had a better way to deterministically evaluate authorization than what the server is using then we could use it to improve the server and therefore ought to.
So we have a choice: Either it is impossible to deterministically evaluate whether access to a particular server is authorized, or we defer to the server's determination (and improve the server where possible). In the latter case this law is obviously then redundant and silly, but that doesn't make it the wrong choice.
- snowwrestler 11y agoStatus 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.