I am writing a small website. There is PHP session based authorization. What HTTP response code should I send, if a user doesn't have access to a certain page?
Is 412 Precondition Failed
a good idea? I think 401 Unauthorized
is good only for a http authorization. 400 Bad Request
and 403 Forbidden
looks too general.