Based on description, I understand that you want to make users can read and download but cannot share and rename documents.
You could change site sharing settings for a site collection and set unique permission for a document library.
Click Site settings gear -> Site permissions -> Change how members can share -> Set Only site owners can share files, folders, and the site.
Go to Library settings -> Permissions for this document library -> Stop Inheriting Permissions -> Select users -> Edit user permissions -> Grant them read permission.
You could also set unique permission for a file. Select the file -> Manage Access -> Click More options in the upper right corner -> Advanced settings -> Stop Inheriting permissions -> Select users -> Edit user permissions -> Grant them read permission.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
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.