How to use security elevation using Friendly Error Pages
Release 1.2 - ...
When a user is logged on but his/her credentials do not include all pages, a situation can occur that an error is shown: Access denied.
Using Smartsite Error Pages, you can configure the login page to be shown directly whenever the http status 403 - Access Denied occurs:
Smartsite.config:
XML | Copy Code |
---|---|
<customErrors handleErrors="true" mode="On" defaultRedirect="error"> <error statusCode="403" redirect="login" /> </customErrors> |
In your Login page, you can then add some extra SXML code based on the querystring variable statusCode.