Re: better protection?
| From: | Colin Guthrie | Date: | Wed, 17 Jan 2007 11:49:58 +0000 |
| Subject: | Re: better protection? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-247207@lists.php.net to get a copy of this message | ||
Ross wrote:
> If I protect folders via cpanel (HTTP auth) is this more secure than using
> php code?
Logically, it /could/ be more secure as it prevents access to any PHP
code and thus any vulns in PHP itself.
In practice tho', the login code and the small part of cpanel that the
un-authed user has access to is unlikely to have any vulns. Even new
injection attacks are unlikely to cause any problems, but you certainly
can't rule it out.
So, in principle, yes it is more secure; in practice, it probably
doesn't matter. (IMO)
Col.