Re: "blackboxing" my global functions

From: Date: Tue, 24 Oct 2000 02:23:50 +0000
Subject: Re: "blackboxing" my global functions
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-21834@lists.php.net to get a copy of this message
On Tue, 24 Oct 2000, Theodore Jones wrote: > > > > OK - after a night's rest I would add: Use the auto_prepend configuration > > directive, in httpd.conf, to prepend a file that calls, or includes, the > > stuff you want kept confidential. > > I'm not quite following you here? > > ~ Theo The auto_prepend config directive allows you to automatically prepend a file to any documents served. You want to keep private the contents of certain included files whilst using them across your system. To prevent someone from gaining the include file name from php scripts and maliciously accessing the included files via fopen (as was suggested) you could use the prepend facility to include the contents, or call the specific include files. This way the name of the included files does not need to be made 'public' and thus it's a bit harder for them to be found. If I'm not making myself clear, feel free to contact me direct. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#21834) next »