|
You'll also need to set up some basic server side protection to prevent hotlinking to the files. That is, only allow access to the files from special scripts in your website.
In the past when I've had to do this, I've always placed the restricted files outside of the web root and used a dynamic language (PHP, usually) to read the file in, spit out the correct header, and flush the buffer to the browser. That usually works. You can even specify a header type of attachment to force a download. Doing things this way guarantees the greatest possible security.
__________________
Plugin-Developer.com - Custom plugin development to fit your needs. Plugins available for WordPress and Drupal, among others.
|