How to Restrict Virtual Server Access Using Command Policy on Citrix ADC Appliance

How to Restrict Virtual Server Access Using Command Policy on Citrix ADC Appliance

book

Article ID: CTX138901

calendar_today

Updated On:

Description

This article describes how to restrict user to access only one virtual server through command policy.

For example, command policy is being configured to allow user to run the the command show lb vserver test or check load balancing virtual server test only. This user cannot check any other virtual server. 


Instructions

To restrict the user access, complete the following steps:

  1. Login to Citrix ADC GUI using the nsroot credentials.

  2. To create command policy, navigate to SystemUser AdministratorCommand policy and type the policy name.

    image (11).png

  3. Copy the command which appear in Command Spec field and click Create.
    2021-06-04 13_50_06-Citrix ADC VPX - Configuration.png

  4. To create user, navigate to System > User Administrator > User.

  5. Click Add and type username and password. In this example it is assumed that user is authenticating through local username and password.

    Capture24.PNG

  6. Click Continue and click on No system command policy.
    image (25).png

  7. Select the command policy that you want to associate with the user and click Bind and then click Done.

    image (23).png

    image (24).png

    image (26).png

    When the user logs on through user account “test”, only vserver test is seen. The other virtual servers or other part of GUI or configuration are not displayed.

    image (27).png

    For other part of GUI, the following error message is displayed:

    image (28).png

    From Command Line Interface, the following message is displayed:

    image (29).png

 
 

Issue/Introduction

This article describes how to restrict user to access only one virtual server through command policy.

Additional Information

You can use some built in options to view all virtual servers.

  1. Click Add on command policy option.

    2021-06-04 10_49_27-.png

  2. Type the policy name (in this example, test-all-lb), click on Command Spec Editor.

    2021-06-04 10_59_11-Citrix ADC VPX - Configuration.pngThe following screen shot displays allowing user to view all virtual servers.
    2021-06-04 11_45_24-Citrix ADC VPX - Configuration.png

3. When you log on through new user having this command policy, you can view all the virtual servers under load balancing node.

2021-06-05 04_18_30-Window.png