Originally Posted by
prabhatM
Typically the Zencart has a download folder, where we need to put all the PDF files for the DOWNLOADABLE option.
But once the user downloads a PDF file once, he is able to predict the Download directory and has direct access to the files. So it's becoming futile to make a paid downloadable distribution.
Any way to create our own customized DOWNLOAD directory through the zen cart admin ?
Prabhat
Why not modify the .htaccess file like so and leave the folder where it is?:
Code:
# but now allow just *certain* necessary files:
#<FilesMatch "(?i).*\.(zip|gzip|pdf|mp3|swf|wma|wmv|wav|epub|ogg|webm|m4v|m4a)$">
# Order Allow,Deny
# Allow from all
#</FilesMatch>
Bookmarks