By default, a user who has the vCenter Server Administrator role can interact with files and applications within a virtual machine's guest operating system. To reduce the risk of breaching guest confidentiality, availability, or integrity, create a nonguest access role without the Guest Operations privilege. Assign that role to administrators who do not need virtual machine file access.
For security, be as restrictive about allowing access to the virtual data center as you are to the physical data center. Apply a custom role that disables guest access to users who require administrator privileges, but who are not authorized to interact with guest operating system files and applications.
For example, a configuration might include a virtual machine on the infrastructure that has sensitive information on it.
If tasks such as migration with vMotion require that data center administrators can access the virtual machine, disable some remote guest OS operations to ensure that those administrators cannot access sensitive information.
Verify that you have Administrator privileges on the vCenter Server system where you create the role.
- Log in to the vSphere Web Client as a user who has Administrator privileges on the vCenter Server system where you will create the role.
- Click Administration and select Roles.
- Click the Create role action icon and type a name for the role.
For example, type Administrator No Guest Access.
- Select All Privileges.
- Deselect to remove the Guest Operations set of privileges.
- Click OK.
What to do next
Select the vCenter Server system or the host and assign a permission that pairs the user or group that should have the new privileges to the newly created role. Remove those users from the Administrator role.