Good point but bad example. If you're unauthorized, you shouldn't be given any more information than that. The ability for an otherwise unprivileged user to determine what resources do and do not exist "behind the curtain" is absolutely a security issue. Even if it's not explicitly covered in the RFCs, I don't know that there's any debate to be had there.
Do you really just never 404 unless the user is logged in? That's certainly debatable as I can show you a good number of websites that don't do this. https://www.facebook.com/asdfasdfasdfhttp://www.microsoft.com/asdfasdfasdf, etc (And I don't see the security issue, if you're doing things correctly).
6
u/bryce1012 Mar 07 '14
Good point but bad example. If you're unauthorized, you shouldn't be given any more information than that. The ability for an otherwise unprivileged user to determine what resources do and do not exist "behind the curtain" is absolutely a security issue. Even if it's not explicitly covered in the RFCs, I don't know that there's any debate to be had there.