Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to secure download directory


kobeyn

Recommended Posts

Hallo,

 

I was looking for a solution but I couldn't find any yet.

 

I sell downloadable products and I want to secure the download directory so that nobody can type its addresse in browser and get access to downoads

 

how can we set up a secure setup where nobody can access internal files ?

 

should we set a password to this directory or can we do this with chmod?

 

many thanks

Link to comment
Share on other sites

It's already secured in a stock shop. There should be a .htaccess file in the downloads directory to do that. If it isn't in yours, just download the oscommerce package and copy that file.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 5 months later...
Hi

thanks for your Antwort

 

I had already .htaccess file but it didn't work in my shop. Now I have found the solution.

 

I should set the AllowOverride parameter to "all" in httpd.conf file and now it works :)

 

the link is following :

 

http://www.oscommerce.info/kb/osCommerce/G..._and_Tricks/249

 

thanks again

In cpanel set you dir.If in that dir do not have "html,htm,php," the when trying to access trough browser get 403 error

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...