This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

craw
craw

I want to use the MediaManager of October, but I need to protect some files with a password. (I'd like to make a Gallery (plugin) from MediaManager Folders and like to protect some galleries with a password.) Does somebody has an idea how to do this?

KurtJensen
KurtJensen

Are you going to display thumb pictures and just protect full sized ones? Explain what you mean by protect. I built private files plugin that does keep unauthorized access to uploaded file. I may be able to expand it to provide your needs.

craw
craw

Frontend: User has to know the password for access the Gallery / File. Backend: I can define which folder in the Media Manager should be protected and a Password for the Folder. Info: The full size Image / File is easy to guess if I use the Media Manager, with the file upload widget I can used a hash function for long filenames. I already did a Gallery Plugin with password protection for categories but I want the same thing with the Media Manager.

Last updated

craw
craw

I tried to develop a plugin to protect folders in Media Manager. My idea was to use the routes.php to protect the path to the image. Unfortunately thats is not possible because the media manager routes is executed before the route.php file of my plugin.

Does anybody has an idea, how to protect files from public in Media Manager?

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.