Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Protected downloads

Locked

Started by stbede77 on 29 Sep 2006, 9:17 AM · Views: 2,354

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
29 Sep 2006, 9:17 AM
#1
stbede77 avatar

stbede77

Zen Follower

Join Date:
Apr 2006
Posts:
124
Plugin Contributions:
0

Protected downloads

How does one setup protected downloads?? I have files in my download folder that anyone can get to and download... I am running version 1.3.0.5

29 Sep 2006, 9:48 AM
#2
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Protected downloads

There should be an .htaccess file in download folder that
contains code similar to below

#prevent directory browsing -- for security
IndexIgnore */*

AuthType Basic
AuthName "No access"
AuthUserFile .htnopasswd
AuthGroupFile /dev/null
Require valid-user

Dezina ZenCart Templates
Please do not PM for support queries..Post in forums..help others