Re: Re: Common-sense security hardening for the next PHP

From: Date: Fri, 20 Nov 2026 00:15:01 +0000
Subject: Re: Re: Common-sense security hardening for the next PHP
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-133131@lists.php.net to get a copy of this message
On 2026-11-20 06:52, Gregory Magarshak wrote:
1) Make it so that include() and require() can only load specific extensions like ".php" and ".phar" If an attacker can plant arbitrary files on your system where include() and require() will load them, then they can give those files whatever extension they like.


« previous php.internals (#133131) next »