3 ms·
A common enough recommendation that I tried to follow back when I did web development was that the core of a web service should not even be seeing the requests
by hvdijk 7y ago
A common enough recommendation that I tried to follow back when I did web development was that the core of a web service should not even be seeing the requests of users that are not allowed to access the service at all, there should be a layer before that that filters out the clearly unauthorized requests. If you do that, you cannot know whether the request is otherwise valid and might succeed later after access has been granted.