an "access denied" page for unauthorised page access

O

Oliver

I would like to show an "access denied" page when an authenticated
user tries to access a page for which they are not authorised
(role-based).

....I know there has been much discussion of this already, but can
anyone confirm:

1) that my understanding is correct that this can't be done in a
trivial way - and that the user will generally be redirected to a
log-in page instead

2) if there is a way to get at the role information for the requested
page so that I can implement the logic myself (ideally in a module) -
ideally this would not involved having to read and parse the
web.config file myself.

ta muchly,
Oliver.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,141
Messages
2,570,814
Members
47,359
Latest member
Claim Bitcoin Earnings. $

Latest Threads

Top