Re: "blackboxing" my global functions

From: Date: Mon, 23 Oct 2000 03:18:23 +0000
Subject: Re: "blackboxing" my global functions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21703@lists.php.net to get a copy of this message
Change permissions on the PHP files so that they are only accessible by the web server. If you're in NT, I'm sure you can use access control lists to do this. If you're in Unix, then it's simple. If your web server is running as user 'nobody', group 'nobody', then make 'nobody' the owner of all the PHP files, and change permissions so that only 'nobody' can read and write them. Dean ----- Original Message ----- From: "Theodore Jones" <theoj@transport.com> To: "PHP General List" <php-general@lists.php.net> Sent: Sunday, October 22, 2000 9:51 PM Subject: [PHP] "blackboxing" my global functions > Hello, > > I act as my own full-service hosting and design company and I use PHP in > some of my site designs. > > I have spent considerable time on some of my functions and such which I > generally like to put into an include file which can be accessed by all > pages "globally" within the site. What I am wondering is, how can I > "black-box" this global function include file such that it is protected > from the site "owners" FTP'ing in and downloading/viewing, but is still > accessible through the HTTP interactions to pump out HTML to the > browser? > > In a sense I consider the PHP programming I have done my "investment" > and "property" and not a part of the design of the site sold to the > client, so I seek to protect my investment and keep them from just > running off with my code and hosting on a different server. > > If anyone has any ideas (perhaps I'm missing something obvious as a > solution), please advise. > > Thanks in Advance, > > ~ Theo > > > -- > 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 (#21703) next »