Common Handling of Unauthorized Access to Website Page?

Is there a common way of handling unauthorized access to website pages? We have a page that should only allow users with a certain access feature to view (we handle the access point as well but that is in JavaScript and can easily be duped). When we return an HTTP response of 401, a blank page is displayed instead of a user friendly message.

Best Answer

Answers