RE: [PHP-DEV] Preload scripts and preloaded scripts only options
| From: | Patrick Schaaf | Date: | Sat, 16 May 2015 13:32:21 +0000 |
| Subject: | RE: [PHP-DEV] Preload scripts and preloaded scripts only options | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86243@lists.php.net to get a copy of this message | ||
None of this whitelisting-by-filename would be practical for our setup.
Have a look at what Smarty does with compiled templates and cached pages:
PHP includes generated on the fly, with filenames that are not known in
advance. For such usage a whitelisting per realpath prefix, would be the
only reasonable approach.
best regards
Patrick