I want to prohibit Teams users in the members & visitor permission groups from sharing the site as well as sharing individual files.
I have a Teams site where I am a site owner. If I go to a channel, click the files tab, then open in SharePoint, I can view the SharePoint site files in a browser.
To attempt to prohibit site and file sharing, I tweaked the SharePoint site settings as follows: Settings > Site Permissions > Access Requests Settings
Uncheck box for: "SharePoint access request settings allow members to share the site and individual files" which also automatically on checks the box below it.
After successfully performing this task, I was surprised to know that both teams site owners and members can still go to the underlying SharePoint site in a browser and share the site and individual files.
What action must I take as a site owner to prohibit sharing this site as well as individual files?