Page 1 of 1

Protect images folder (uploaded files) from unauthorized users access, if knowing the link

Posted: 2019-07-23 06:05
by onoehring
Hi,

not my idea, but a great solution (imho).
At this time everyone, even without being logged in, can download stuff from the images folder (meaning all files that have been uploaded can be downloaded). The only thing one needs is the link to that file.

Here ( viewtopic.php?t=2856#p9355 ) is a great solution using a very simple .htaccess file in combination with a php file (both sources can be found at the link). (In the php file you need to close the php bracket ?> )

Olaf