To do this, you must:
- Choose a download method of either "Download by Streaming" or "Download by Redirect" from Admin->Configuration->Attribute Settings.
If you're using a Linux server, either option is suitable.
If you're using a Windows server running IIS, you cannot use redirects. Instead, you will need to use Download by Streaming in order to handle secured downloads.
- Use your FTP program to move your "download" folder outside your webroot. Perhaps drag-and-drop it to a level "above" your public_html folder. The method you choose for moving or creating this folder will depend on your hosting account and the tools available to you for moving folders.
Usually the "download" folder is located inside your store area, for example:
You want to move it "above" your public_html folder, something like this:
- Edit your two configure.php files to show the new path to your download folder:
You'll need to edit the line that says this:
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
to look something like this:
Specifically, you need to indicate the exact complete path for the webserver's filesystem that points to your download folder. You could use your DIR_FS_CATALOG entry in your configure.php file as a reference, and make appropriate adjustments. Your FTP program and/or your webserver's hosting control panel should be able to help you understand the complete path.