Re: Looking for an informed opinion
| From: | Joe Stump | Date: | Tue, 28 Nov 2000 17:59:39 +0000 |
| Subject: | Re: Looking for an informed opinion | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-27638@lists.php.net to get a copy of this message | ||
> I notice your *.inc files are possibly accessible via the web since they are
> under $DOCUMENT_ROOT. People can see how you coded them. Maybe you don't
> care. If you do care, then you'll want to have it go back one directory or
> to some other directory that is outside $DOCUMENT_ROOT where the webserver
> can't serve them out in plain view.
Most people add .inc to their PHP parser - AFAIK this is kind of a standard
practice. A person looking at main.inc would get "Document Contained No Data".
Not a huge security risk IMO - of course mine are outside of the docroot ;O)
--Joe
>
> --
> -------- Robert B. Easter reaster@comptechnews.com ---------
> - CompTechNews Message Board http://www.comptechnews.com/ -
> - CompTechServ Tech Services http://www.comptechserv.com/ -
> ---------- http://www.comptechnews.com/~reaster/ ------------
>
> --
> 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
================================================================================
= Joe Stump joestump98@yahoo.com http://www.miester.org =
================================================================================
Need a programmer? http://www.google.com/search?q=joe+stump+resume