Forum Moderators: phranque
# All anyone access to dir for XML file
# No security needed on this - publicly available on live site
# Authentication handled by script.
SetEnvIf Request_URI "/path/to/dir/for/files/needed/.*" app_access
Order Deny,Allow
AuthType Basic
AuthName "Sandbox Site"
AuthUserFile "/path/to/.htpasswds/public_html/test"
require valid-user
#Allow valid-user
Deny from all
Allow from env=app_access
Satisfy any
[edited by: jdMorgan at 5:09 pm (utc) on Jan 14, 2011]