Hi Roc
To set up a Group Policy Object (GPO) to allow specific users to access only one website on a Windows Server 2019, you can follow these steps:
- On the Windows Server 2019 machine, open the Group Policy Management console. You can do this by searching for "Group Policy Management" in the Start menu.
- Expand the domain and navigate to the Organizational Unit (OU) where the users are located or where you want to apply the GPO.
- Right-click on the desired OU and select "Create a GPO in this domain, and Link it here..."
- Provide a name for the GPO, such as "Website Access Restriction," and click "OK."
- Right-click on the newly created GPO and select "Edit" to open the Group Policy Editor.
- In the Group Policy Editor window, navigate to "User Configuration" > "Policies" > "Administrative Templates" > "Windows Components" > "Internet Explorer."
- Double-click on the "Internet Control Panel" policy and select the "Security Page" option.
- In the right pane, double-click on "Site to Zone Assignment List."
- Enable the policy by selecting the "Enabled" option.
- Click the "Show..." button to open the list of sites.
- In the "Value name" column, enter the URL of the website you want to allow access to (e.g.,
https://www.example.com
) and set the corresponding value in the "Value" column to "1" (Intranet Zone). - Click "OK" to close the list of sites.
- Close the Group Policy Editor.
- Link the GPO to the desired OU by going back to the Group Policy Management console, right-clicking on the OU, and selecting "Link an Existing GPO." Choose the GPO you created earlier and click "OK."
- Verify that the GPO is applied to the correct users by running the command
gpupdate /force
on the client machines or waiting for the policy to refresh automatically.
Make sure to test the GPO thoroughly to ensure it is working as expected before applying it to production environments.