I am trying to disable download option for documents in a library in a communication site.
But I can not see restricted view permission level. Is there any way to enable it in a communication site?
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It only takes a minute to sign up.
Sign up to join this communitySolution: Activate “SharePoint Server Enterprise Site Collection features”
The “View Only” permission level allows users to view content and restrict Create/edit/download of documents from the site (documents can be opened in the browser, however). Have you ever needed to give someone view-only permissions on a SharePoint Online site or list and noticed that this permission level is missing from the SharePoint Online roles? Well, This is because the “SharePoint Server Enterprise Site Collection features” is not active! This feature is not active on Modern group sites, so the “View Only” permissions level is missing by default in SharePoint Online. Follow these steps to activate the feature:
That’s all! Now you should see the “View Only” permission level on the site.
Source: https://www.sharepointdiary.com/2021/08/sharepoint-online-view-only-permission-level-missing.html
You will need to activate the SharePoint Server Enterprise Site Collection feature to enable the View Only permission.
To do this:
There was a way in classic SharePoint server sites to prevent downloading files by granting "View only" or "Restricted Read" permissions to users. But, these permission levels are not available in communication sites by default.
So, you need to activate SharePoint Server Enterprise Site Collection features feature in your communication site to get View only permission level.
Check this article for more information: Prevent Contributors from Downloading SharePoint Content
Similar thread: To prevent the ability to download files for read-only users (Visitors group), check my answer at: How to add users to the Viewer role in a communications site to prevent the ability to download files?