Try Now
More in this section

Forums / Deployment / Public Page Permissions

Public Page Permissions

2 posts, 0 answered
  1. Jim Aderhold
    Jim Aderhold avatar
    48 posts
    29 Feb 2004
    29 Dec 2005
    Link to this post
    When a user selects a page they do not have persmission to view, what page are they redirected to? In the Blogspace example, they are redirected to a page built in Sitefinity. But in the code, the user is set to go to AcessDenied.aspx with a parameter of the page they were trying to access. The AcessDenied page is confusing. It's code behind is set to login.aspx.cs and it inherits AccessDenied. Neither of which has anything in the Page_Load that picks up this parameter. What is going on here?

    How do you setup the "No Permissions" page?
  2. Yavor
    Yavor avatar
    11 posts
    24 Sep 2012
    30 Dec 2005
    Link to this post
    Hi Jim,

    You can hide from navigation pages for which user does not have permissions. But if you want them to stay there you can modify AccessDenied.aspx and its codebehind (AccessDenied.aspx.cs or AccessDenied.aspx.vb) to fit your needs. I'm sending short example which uses client script to redirects user without permissions from accessdenied.aspx to default page after 2 seconds.

    the telerik team
2 posts, 0 answered