Page is a not externally linkable
- WebmasterWorld
-- Community Building and User Generated Content
---- Database passwords and download programs


silk - 4:14 am on Oct 5, 2004 (gmt 0)


Ok i'm interested in a minor issue here. There are certain programs that allow a person to download an entire website so it functions as the whole website offline. Do these programs download all your php scripts as well? If they do, then a lot of logic can be compromised. I suppose this is why i was advised to move my "config" file with all my database info, outside the site root. What i don't fully understand is, how will this prevent a program such as winTTrack from downloading such a file. I am not familiar with the inner workings of this or similar programs.

I plan to test this out myself as soon as i get a little time.

So, if some experienced Mod or Admin can advise me on how to properly secure sensitive data in php scripts.

Thanks in advance


Thread source:: http://www.webmasterworld.com/community_building/182.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com