Share library folders to different guest users but not the root files and folders

Rajesh Lohar 26 Reputation points
2022-11-21T11:47:52.92+00:00

Hi,

I have a document library which have many folders and subfolders shared with different external users /groups.

The problem is, when I create a new folder, it automatically shared with external users/groups because other folders are shared with them.

Please let me know how to prevent any other user or groups to share automatically.

Thanks,

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,565 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,655 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jinwei Li-MSFT 4,721 Reputation points Microsoft Vendor
    2022-11-22T02:26:30.753+00:00

    Hi @Rajesh Lohar ,

    As @Anonymous to said, you could create a unique permission.

    1. Go to the list, library and open it.
    2. Go to the Permissions page.
    3. To break permissions inheritance from the parent, select Stop Inheriting Permissions.
      262862-image.png
    4. Select Grant Permissions on the Permissions tab.
    5. In the Share... dialog box, make sure Invite people is selected, and then type the names of the people or group you want to grant access to in the Enter names or email addresses... box.
      262855-image.png
    6. Add a personal message if you like.
    7. Check or uncheck Share everything in this folder, even items with unique permissions. This will grant or restrict access to items you already set unique permissions for. (This option is only available for folders.)
    8. The permission level granted is set to Edit by default, which means the people you invite can make some changes to the list, library, or survey. If you want to grant a different permission level like Read only, click Show options and change the selection in the Select a permission level box.
    9. An email message will be sent to everyone in the Invite people box. If you don't want this to happen, click Show options, and uncheck Send an email invitation.
    10. When you're done, click Share.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Charlotte Hartwell 1 Reputation point
    2022-11-21T14:23:32.73+00:00

    @Rajesh Lohar

    You will want to go to the ellipsis on the folder you want to manage, choose 'Manage Access' and in the bottom right of the pop up window there is a link to the 'Advanced' options. In here you can break permissions with the parent folders/library/list. There are instructions on how to do it here how-to-restrict-access-to-a-specific-folder-in-sharepoint

    However, it does should like you have an administrative nightmare brewing with folders all having different permissions. You may want to look at managing them in separate libraries, of which you can have many on a site.

    I hope this helps.

    0 comments No comments