Reply To: Cant get this working- PLEASE HELP

Home Forums Product Support Secure Download Links Cant get this working- PLEASE HELP Reply To: Cant get this working- PLEASE HELP



please check if allow_url_fopen (fopen for urls with http) is permitted in your php.ini or .htaccess settings.

the general.js is to be included so that you have no script errors, the script still works.

For htaccess the url to the downloadable file should be accessible by download.php however, it should not be accessible when accessed directly. I will suggest to use this solution from

RewriteCond %{HTTP_REFERRER} ! [NC]
RewriteRule ^download\.php$ – [F]


RewriteCond %{HTTP_REFERER} .
RewriteCond %{HTTP_REFERER} !yourdomain\.com [NC]
RewriteCond %{HTTP_REFERER} !alloweddomain\.com [NC]
RewriteRule .? – [F]

I will be glad if you can share results.

Placing the files below docroot can be a very good solution, however this option is not yet available with “Secure Download Links” script.

Although adding this option will rule out the option to access files placed on another server, it will be good to have, I am planning to add this in a future upgrade.

Let me know if you will need me to troubleshoot this on your server..


Get the latest posts delivered to your mailbox:

We do not share information about our subscribers.