How do I block access to the /uploads/ folder using url group, or any function?

Hi,

Trying to block access to the /uploads/ directory for public viewers and limit access to subscribers.

Tried creating a url group for .../uploads/* but direct access to the file was still possible.

Thanks

Harry