I am checking out Alfresco 5.0.x now and I do see the same.
Anyone who can see a file can share that file.
I looked all over the forum and also Googled till the 20th page after the first results..
Apparently their is no such thing as a simple configuration somewhere.
I only found one for global:
Put this in \tomcat\shared\classes\alfresco-global.properties
system.quickshare.enabled=false
But it disables functionality for all users, but leaves the icon (?)
One user suggested to "display:none;" using CSS.. but that is not safe. But at least on the right track.
I now figured I should enable/disable the link button (or icon) itself from the html. I only do not know what file is responsible for that part. Or rather, files as this link may show up on multiple locations in the screen.
Who can shine a light on this? I would be very happy. Where and what files do I need to touch for that?
Thanks