Access Denied Page - Any way of Customization?

Vote:
 

Hi EPiServer.

Is there anyway of customizing the page that appears when a user logs in, and it says...

Access denied

You do not have sufficient rights to view this page.

 

Does it sit somewhere in the EPiServer directory?

Many Thanks.

Marc.

#57957
Apr 05, 2012 11:21
Vote:
 

Hi Marc,

If you can find the access denied page in the EPiServer install location you can add a URL mapping in web.config (<system.web> <urlMappings> <url url="installlocation" mappedUrl="custom file">)

I hope this helps,

Mark

 

#57972
Apr 05, 2012 16:54
Vote:
 

Default behavior is to return the login page, you can however override the AccessDenied method and implement your own logic.

Hope this helps.

Frederik

#57977
Apr 05, 2012 18:09
Vote:
 

Many thanks both.

More than enough to go on!

#58058
Apr 12, 2012 11:39
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.