What options are there to secure exe files or jpg files etc from being accessible without first authenticating user / pass through a php / database driven user login page?
TIA
TIA
Originally posted by: Mitzi
Put something similar to the following in your Apache conf:
<Directory "/var/www/localhost/htdocs/mozzano/temp">
Options +Indexes
AuthUserFile /var/www/localhost/htdocs/mozzano/temp/.htpasswd
AuthName "Mitzi's temp file section!"
AuthType Basic
require valid-user
</Directory>
You can then use Apache htpasswd2 to create username/passwords for the directory. If you need more detailed info let me know.