[TYPO3-core] RFC: allow access from private nets

Karsten Dambekalns karsten at typo3.org
Wed Jun 28 15:25:06 CEST 2006


Hi.

On Wednesday 28 June 2006 14:32, Martin Kutschker wrote:
> How about this check?
>
> ($_SERVER['REMOTE_ADDR']!='127.0.0.1' && $_SERVER['REMOTE_ADDR']!='::1') ||
> !@is_file($enableInstallToolFile)
>
> It uses the file thingy for remote access but still allows for localhost.

Great!

> The 0==1 or 1==2 check is IMHO pointless as those who can code can change
> the check and those that can't have no idea what to change.

True.

Karsten
-- 
Karsten Dambekalns
TYPO3 Association - Active Member
http://association.typo3.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060628/0ef5ad2f/attachment.pgp 


More information about the TYPO3-team-core mailing list