Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Protecting downloable content


graphicore

Recommended Posts

Well....

 

Since there is a lack of infotmation on this I decided to reply myself with this way of protecting your downloable content from robots.

 

First... Create a folder outside your public_html. and name it as you wish.

 

Then modify the file in: catalog/includes/configure.php

and change:

 

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

 

to:

 

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '../../your_new_download_folder_on_the_root/');

 

This is just to make it difficult for robots to sniff your site since it's behind your public folder range.

 

Hope this helps someone too.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...