Protecting downloads

Hi everyone! I have a question about securing some files.
I have some downloadable files that I only want allow to be accesed by logged users from their account page. I managed to prevent downloading of this files from its url. (eg. mysite.com/mypage/download/file.zip)
But in case someone gets the url from the media folder, the file could be downloaded.
So is it possible to avoid using the media folder for this files?

You can prevent files being stored in the media folder, check out the links here: Authentication for direct file access

1 Like

Great. That solved my problem. Thanks Sonja!