Secure the PeopleUpdate Administration Console

Secure the PeopleUpdate Administration Console

Securing the Administration Console
You can secure the PeopleUpdate Administration Console to restrict access to a set of authorized users in your environment. PeopleUpdate leverages ASP.NET security to check user credentials and authorize access to the Administration Console and this security works by using Windows authentication to examine the current user accessing PeopleUpdate.

By default, PeopleUpdate ships with an Administration Console security configuration that allows everyone to access it. You can set Windows groups or individual users to access PeopleUpdate and Web Active Directory recommends that you only use groups as a best practice to control access to the Administration Console.

To restrict access to the Administration Console:

Navigate to the PeopleUpdate installation directory on the web server where you installed PeopleUpdate. This directory is by default located at C:\inetpub\wwwroot\PeopleUpdate but may be in a different location depending on your environment. You can look up the location using Internet Services Manager and examining the PeopleUpdate application’s home directory.

Open the Web.config file–located in the PeopleUpdate installation directory’s root–with a text editor like Notepad.

Find the two elements near the end of the Web.config file, one with a path=”AdminPage.aspx” attribute and the other with a path=”UserControls/Admin” attribute. These location elements and their child nodes control access to the Administration Console by restricting access to the page and directory that contain the Administration Console files. The excerpt below shows the configuration for the elements and includes the %domain% and %group% placeholders you can use to restrict access to the Administration Console.

Important Note: Make sure you move the closing XHMTL comments (<!– and –>) so the location elements get processed by the security system. You need to ensure the closing element (–>) is above the location elements and not below.


< location path="AdminPage.aspx">
<system.web>
<authorization>
<allow roles="%domain%\%group%" />
<deny users="*" />
</authorization>
</system.web>
< /location>
< location path="UserControls/Admin">
<system.web>
<authorization>
<allow roles="%domain%\%group%" />
<deny users="*" />
</authorization>
</system.web>
< /location>

Modify the <allow /> and <deny /> elements to allow access to the select group or groups of Windows users who need access to the Administration Console while denying access to everyone else. Add roles and users attributes to the elements to determine which groups (roles) and users are allowed and denied access. Ensure you include the domain name followed by the group or user name in the appropriate roles or users attribute values and separate multiple roles or users using commas. You may also employ the asterisk character (*) as a wildcard meaning all users or roles (depending on the attribute) and the question mark character (?) to mean anonymous access.

 

The following examples help you understand how to implement this security.

  • Allow access to IT and HR groups and deny access to everyone else

    <allow roles="MYDOMAIN\IT, MYDOMAIN\HR" />
    <deny users="*" />
  • Allow access to IT group and HR user and deny access to everyone else

    <allow roles="MYDOMAIN\IT" users="MYDOMAIN\HR User" />
    <deny users="*" />
  • Allow access to IT group and deny HR user explicitly

    <allow roles="MYDOMAIN\IT" />
    <deny users="MYDOMAIN\HR User" />

Save your changes and test the Administration Console with user accounts in different groups to ensure you have properly configured the security to allow and deny access.

    • Related Articles

    • Change the language for PeopleUpdate

      You can localize most of the PeopleUpdate Search Console to any language you need but the Admin Console is only available in English. We only ship an English version of PeopleUpdate and you will need to perform the localization yourself since we ...
    • Deserializing error in PeopleUpdate

      You might see the following error in your event log for PeopleUpdate. Application Error A critical application error occurred that could not be handled by the system. Please report the following information to your system administrator. Error ...
    • Create and Show an Organization Chart in PeopleUpdate or PeopleSearch

      You might want to create a tab that has an organization chart starting with someone in your organization like the CEO, President, etc. Follow the procedure to create a new tab and set up the organizational chart by using the Org Nav in PeopleUpdate ...
    • Improve Search Performance for Large Sets of Results in PeopleUpdate

      here might be instances where a query in your AD returns a large number of results over 1000. In this case it’s beneficial to use the paging feature when retrieving search results from the directory. Active Directory enforces a standard number of ...
    • How to log out of PeopleUpdate

      This article pertains to how to log out of PeopleUpdate.  PeopleUpdate uses Windows authentication and, depending on your browser settings, the credentials you used for the presentation may be stored by your browser. If you use Internet Explorer, you ...