On your SharePoint site, go to the library where you want to share files.
Pick the file or folder you want to share by selecting its circle icon.
Select Share at the top of the page.
Under Copy Link, select Anyone with the link can edit to open the link settings.
To change the link permissions, select an option to whom you want to give access to the link
Once you have set all your link settings and permissions, select Apply.
Under Copy link, select Copy.
Paste the link and send it in an email, message, or post.