Your best friend for file transfer.

Help Needed with .htaccess (2 posts)
This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
- Started 20 years ago by apache
- Latest reply 20 years ago from Jim Matthews
-
apache Member
-
Jim Matthews Administrator
This Google search turns up some tutorials on using .htaccess files:
http://www.google.com/search?q=htaccesstorial
I've never used .htaccess to protect individual files (as opposed to entire directories). One of the tutorials recommends putting this text in the .htaccess file:
<files *.html>
order allow,deny
deny from all
</files>You'd have one of these clauses for each type of file you wanted to hide.
Jim Matthews
Fetch Softworks
- Page 1
Topic closed
This topic has been closed.
Hey everyone
I have a webfolder that contains .html/php/gif/jpg files. I need to create a .htaccess script that will prevent users from viewing any files in it other than php files.
Any help will be highly appreciated.
--apache
Posted 20 years ago #