I prepared a restricted page in my cmsms using FEU, UPLOADS and CustomContent modules. I need to share contents and files in that page with a group of registered members. It works well, but I didn't like "file listing" in my page, as the module allow. I prefer to manage my page linking the files where and only when I want.
So I putted an .htaccess into the dir where protected files are stored, that limits/allows downloading of files only from the specified page.
htaccess is:
Code: Select all
RewriteEngine On
RewriteCond %{HTTP_REFERER} !(www.)?mysite.com/restricted-page.html
RewriteRule .* - [F]
Any suggestion for an easiest way to do this inside CMSMS ?
thanks in advance
gp