Be able to share uploaded files on a case by case basis

Instead of the global setting of allowing others to access uploads via a link:

it could be good if that could be specified on a case by case basis.

I have one document that I share publicly and I’d like the files that I have uploaded on that document to be accessible to all. but don’t want all of my files in general to be accessible. else you end up with a situation like this: