How to Restrict SharePoint Page Editing Without Removing Library Access
Question details
The user wants to allow SharePoint users to manage and edit documents in libraries but prevent them from modifying site pages, layouts, or accessing the page Edit button.

- Product
- Microsoft SharePoint
- Device & OS
- not provided
- Scenario
- Managing site permissions and user access levels to protect site structure while enabling document collaboration.
- Observed behavior
- Users currently have permission to edit documents but can also edit site pages, which needs to be restricted securely.
Ensure you have Site Owner or Full Control permissions in your SharePoint environment before attempting to modify permission inheritances or create custom permission levels.
Break Permission Inheritance for the Site Pages Library
The most straightforward workaround is to stop inheriting permissions for the Site Pages library and restrict targeted user access to Read-only.
By default, SharePoint permissions are inherited from the top-level site down to its lists and libraries. Breaking inheritance on the Site Pages library allows you to restrict page editing without affecting the users' ability to edit files in document libraries.
Go to your SharePoint site, click on the Settings gear icon in the top right corner, and select 'Site contents'.
Locate the 'Site Pages' library in the list. Click the ellipsis (three dots) next to it, and select 'Settings' from the context menu.
Under the 'Permissions and Management' section, click on 'Permissions for this document library'.
In the ribbon at the top, click 'Stop Inheriting Permissions' to break the security link with the parent site. Confirm any prompt that appears.
Select the checkboxes next to the users or groups you want to restrict. Click 'Edit User Permissions' in the ribbon, uncheck their current level (e.g., Edit or Contribute), check 'Read', and click OK.

Create and Assign a Custom Permission Level
If breaking inheritance on specific libraries isn't ideal for your site architecture, you can create a custom permission level that completely excludes page-editing rights.
Looking for a Simpler Way to Collaborate on Documents?
Managing complex SharePoint site permissions can be frustrating and time-consuming. Try WPS Office, a lightweight, free alternative that offers intuitive document sharing, robust privacy controls, and seamless collaboration without the steep learning curve of Microsoft environments.
- 1. Download and Install: Get WPS Office from the official website and launch the application on your device.
- 2. Open Your Document: Create a new file or open your existing Microsoft Office formats directly in WPS Office.
- 3. Share with Custom Permissions: Click the 'Share' button to generate a link, effortlessly configuring view-only or edit permissions before sending it to your team.

Frequently Asked Questions
Can I hide the Edit button on SharePoint pages for specific users?
Yes, by changing a user's permission level to 'Read' specifically for the Site Pages library, the Edit button will automatically be hidden for them on all site pages.
What happens if I remove the 'Add and Customize Pages' permission?
Removing this specific permission prevents users from changing the layout, adding web parts, or configuring site pages. However, they can still edit documents if they hold Contribute or Edit permissions on the respective document libraries.
Can I apply custom permission levels to an entire SharePoint group?
Absolutely. Once a custom permission level is created, you can assign it to an entire SharePoint group from the Site Permissions settings, ensuring all members within that group inherit the tailored access restrictions.
Will breaking inheritance affect sub-folders in the Site Pages library?
Yes, by default, any folders or files contained within the Site Pages library will automatically inherit the new restricted permissions you establish at the library level, unless you intentionally break inheritance again on specific sub-items.




