On Mon, 17 Feb 2003, PR wrote:

>How can I protect my php files among other files like templates
>(.inc) and mysql config  (config.inc) files being copied/read/imported (front
>page)/used by other applications other than my
>site...
>
>can this be done by htaccess? is so , could anyone point me into right
>direction?

The best way is to not allow anyone else access to your files to begin 
with.  I assume you mean you are in a shared hosting environment?  Your 
system administrators can and should have permissions setup so no one can 
mess with your stuff by default.  If that is not the case, I'd move.

What kind of system is it?  If it's unix you can make use of chown and 
chmod to protect your stuff.  If it's windows, I don't know.


-- 
Greg Donald
http://destiney.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to