Re: Protecting a single file?
On Sat, Aug 12, 2000 at 10:50:07AM +0200, Oliver Schoenknecht wrote
> Hey everyone,
>
> just a short question :
>
> I have a certain file where php-passwords are stored in - the problem
> is that it could usually read by anyone. Does anyone of you know how
> to protect this single file without doing a .htaccess on the whole
> folder and keeping the chown-rights of 777 ? Is it even possible to
> set a password or so on this file ?
>
> Any help is appreciated very well :-) !
>
The short answer is, don't store documents like this in
directories that your web server can serve files from.
John P.
--
huiac@camtech.net.au
john@huiac.apana.org.au
http://www.mdt.net.au/~john Debian Linux admin & support:technical services
Reply to: