A
ABC
I have a web site include three folders: public, admin and member.
I place web.config files to admin and members folders only allow admin and
members to access. If there are a user login as Demo which is not both
admin and member roles. But it should not to access admin and member
folders. I can success to limit accessing those folders, but it force users
re-login screen. It is not expected to redirect to public/default.aspx.
Which elements on web.config to force re-direct to the another page?
I place web.config files to admin and members folders only allow admin and
members to access. If there are a user login as Demo which is not both
admin and member roles. But it should not to access admin and member
folders. I can success to limit accessing those folders, but it force users
re-login screen. It is not expected to redirect to public/default.aspx.
Which elements on web.config to force re-direct to the another page?