Is there a way to protect individual files and not the entire directory on a UNIX server? .htaccess protects the whole directory. Are there other methods of password protection?
Not really. There are password scripts that you can install that will protect a file. However, if someone knows the file you are protecting, they can bypass these logon scripts and go directly to the file.
Go to cgi-resources.com and check out the Password Protection scripts.
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Go to cgi-resources.com and check out the Password Protection scripts.
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Nope. .htaccess protects all files within a directory.
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us
Jul 9, 1999, 10:39 AM
User (214 posts)
Jul 9, 1999, 10:39 AM
Post #5 of 5
Views: 3265
You could put the file into the web non-accessable directory, and access the file from a cgi script.
This is what I do for my data files, I can read them from anywhere using a password protected cgi script.
Regards,
Pasha
------------------
webmaster@find.virtualave.net
http://find.virtualave.net
This is what I do for my data files, I can read them from anywhere using a password protected cgi script.
Regards,
Pasha
------------------
webmaster@find.virtualave.net
http://find.virtualave.net