Restricting access by IP address
In this recipe, you will learn how to set up IP address restrictions to ensure that only specified IP addresses can access your organization’s SharePoint and OneDrive content. This security measure is important for organizations that want to limit access to their intranet or user content to employees from specific locations, thereby protecting sensitive corporate data from unauthorized external access.
Getting ready
In order to follow the steps in this recipe, you must be either a Global or SharePoint Administrator.
How to do it…
- Access the SharePoint admin center by logging in to the Microsoft 365 admin center at https://admin.microsoft.com. On the left navigation menu, under Admin centers, find and select SharePoint.
- Select Policies | Access control on the left navigation menu.
- Select Network location.
- Enable the Allow access only from specific IP address ranges setting, then enter the desired IP addresses...