Home › Knowledgebase › KB-1152

Stop Folder Chaos: How to Restrict Access to Sensitive Files in Microsoft SharePoint

Summary

This guide helps you troubleshoot and resolve: Stop Folder Chaos: How to Restrict Access to Sensitive Files in Microsoft SharePoint. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Managing who can see what within your organisation's SharePoint site is critical for protecting sensitive information such as HR records, payroll data, and financial reports. Without correct permissions, staff may accidentally access confidential files, and AI tools like Microsoft Copilot may surface private data to unauthorized users. This guide walks you through restricting folder access in SharePoint Online to ensure your data remains secure and Copilot-ready.

Restrict Access to a Sensitive Folder

  1. Log in to your Microsoft 365 account and open SharePoint. Navigate to the site containing the sensitive files.
  2. Click Documents in the left-hand navigation pane to open the document library.
  3. Locate the folder containing private HR, payroll, or financial information.
  4. Hover your mouse over the folder name until a checkmark appears, or click the ellipsis (...) next to the folder to open the context menu.
  5. From the context menu, select Manage access. A panel will open on the right side of the screen showing who currently has access to the folder and how it inherits permissions from the parent library.
  6. By default, folders inherit permissions from the document library. To restrict access specifically for this folder, click Stop inheriting permissions in the Manage access panel.
  7. Confirm the action. SharePoint will warn you that this creates unique permissions for the folder. SharePoint copies the existing permissions from the parent library before breaking inheritance, so you will need to manually remove any unwanted access afterward.
  8. Review the list of users and groups with access. To remove access, click the dropdown arrow next to the user or group you wish to remove, select Remove Direct Access, and confirm the removal when prompted.
  9. Click the Grant Access button at the top of the panel. Enter the names or email addresses of the staff members who require access.
  10. Choose the permission level: Can edit or Can view. For sensitive financial data, Can view is usually sufficient.
  11. Optionally, add a message explaining why access is being granted, then click Grant Access to save.
  12. After configuring access, return to the Manage access panel to confirm that only authorized users are listed.

Breaking inheritance creates unique permissions for the folder. Once you stop inheriting permissions, changes made to the parent library's permissions will no longer automatically apply to this folder. You must manage this folder's access independently, which can create permission management complexity and make future audits harder.

SharePoint has a limit of approximately 50,000 unique security scopes per site collection. Applying excessive folder-level unique permissions across many folders can cause performance issues and exceed this limit.

Best practice is to assign permissions to SharePoint groups or Microsoft 365 groups rather than individual users. Using groups simplifies management when staff change roles or leave the organisation, as you only need to update group membership rather than individual folder permissions.

Check Existing Sharing Links

Before relying on folder permissions alone, check for existing sharing links that may bypass folder restrictions. Users with Anyone links or Organization links may still access the folder even after you remove direct access. In the Manage access panel, review the Links section and remove any anonymous or organization-wide links pointing to sensitive folders.

Troubleshooting

Grant Access Button Missing or Greyed Out

If the Grant Access button is missing or greyed out, you may not have sufficient rights. You must be a site owner or have Full Control permissions on the document library. Contact your SharePoint administrator to request the necessary access.

Folder Still Appears in Search Results

Even with restricted permissions, a folder may appear in search results for users without access. However, when they attempt to open it, they will receive an access denied message. This is expected behavior. To further reduce visibility, ensure the folder is not shared via Anyone links.

Access Denied After Changes

If you accidentally remove your own access, you will need another site owner to re-grant you permissions. Always ensure at least two administrators have access to sensitive folders before restricting them.

External Sharing Scenarios

If you need to share sensitive files with external partners, avoid granting direct access to external users on restricted folders. Instead, use time-limited sharing links with expiration dates, and regularly audit external sharing links in the SharePoint admin center. External sharing links can bypass folder-level permissions if not properly managed.

Preparing for Microsoft Copilot

Before enabling AI tools like Microsoft Copilot in your organisation, review all SharePoint permissions. Copilot can analyze and summarise content it has access to, which means poorly secured folders could expose executive payroll or private director files to unauthorized staff. Use this opportunity to:

Regularly review SharePoint permissions, especially when staff change roles or leave your organisation. Set a calendar reminder to audit sensitive folders every quarter.

For more granular protection of highly sensitive data, consider Microsoft Purview sensitivity labels. Sensitivity labels can apply encryption and access restrictions that travel with the document, providing an additional layer of protection beyond SharePoint folder permissions.

If you encounter issues configuring SharePoint permissions or need assistance preparing your data environment for AI tools, Open a Ticket with our Brisbane support team.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket