Hi jce_,
Sorry for the inconvenience it may have caused.
If you want users to only be able to browse and download the documents you uploaded, you can add these users to the Visitor group. In this way, when users in the Visitor group access related sites, they only have the permission of view only.
Here are some KB articles for your reference:
Authorization, users, groups, and the object model in SharePoint;
SharePoint site permissions;
Or you can customize permissions for a SharePoint list or library to further edit the permissions of specific document libraries. From there you can break the inheritance and remove/add permissions to your liking. In your case you have to change the permissions to "View Only" for the groups or users who shall only have read permission. And you would have to make sure that the documents in the folder inherit the permissions from the folder.
If you want to download directly to the local when you click the file name, add the following JSON code to the library. Make sure “Opening Documents in the Browser” is set to “Open in the browser” firstly.
{
"$schema": "https://developer.microsoft.com/json-schemas/sp/column-formatting.schema.json",
"elmType": "a",
"txtContent": "@currentField",
"attributes": {
"target": "_blank",
"href":"[$FileRef]"
}
}
For the downloaded SharePoint documents will be locked, which is expected behavior of SharePoint co-authoring, which is mentioned in Document collaboration and co-authoring.
Best regards,
Madoc