Register | Login  
 
Blogs Minimize

Current Articles | | Search |

How to allow only Host accounts to access the DNN built-in User Accounts page

WorkControl-UserManager LogoA customer who bought the WorkControl-UserManager for use to manage users.  The WorkControl-UserManager can be setup to limit access to user accounts by security roles.  The customer asked for option to make the DNN built-in User Accounts page to be accessible only to Host accounts. 

In this blog, I will show how to make minor modification the CORE to redirect user to "Access Denied" page if administrator accounts try to access the DNN User Account page.  The steps below are for DNN 4.8.  Click on image to zoom in.

 

image
  • open the Users.ascx.vb in the folder DNNRoot\admin\Users
  • In the Page_Load event (starting at line 542), add block of code to check for Host permission
  • If not Host permission, redirect to Access Denied page.  This page is DNN built-in page.

posted @ Wednesday, March 19, 2008 9:18 PM by Support, Technical

Previous Page | Next Page

COMMENTS

Adsense Minimize
Print