Re: How do you keep your scripts secure?

From: Date: Thu, 15 Mar 2001 23:35:06 +0000
Subject: Re: How do you keep your scripts secure?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44168@lists.php.net to get a copy of this message
"... hate to think that someone could come along and just use it all for free" So you don't really care to contribute to the Open Source community? We would love to have your passwords. I would highly recommend setting an include path outside the web server document root and store you files with passwords in there. If you don't have access to the php.ini file, you can set the include_path in your scripts. K E I T H V A N C E Software Engineer n-Link Corporation On Thu, 15 Mar 2001, Murph wrote: > > if someone knew the name of your include file, and it was under the > > webserver root (for instance, the same folder) then yes, its like any > > other file......you can get around this by changing your php.ini > > include_path variables and putting the files there, outside the > > webserver directory > > I'd agree except that I don't leave any code lying around with anything > other than a *.php extension so, like you said, that'd be parsed by the > server before being sent to the browser, right? > > I would take this to mean that my code *should* be safe...? <gulp> > > I ask because I'm such a jealous S.O.B. I've done such hard work that I'd > hate to think that someone could come along and just use it all for free. > Plus, there's that nastiness of having passwords in there and all that. > > Murph > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#44168) next »