note 128154 added to security.hiding
| From: | SajithKarunatilake at | Date: | Thu, 26 Jan 2023 21:24:06 +0000 |
| Subject: | note 128154 added to security.hiding | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220110@lists.php.net to get a copy of this message | ||
Just hiding it doesn't look like good "security" if the code itself is flawed. At the
end of the day the code has to run regardless of its file extension. There could be some advantages
to this. But it does not prevent someone (who is not a script-kiddie or some kind of automated bot)
from exploiting the flaws in the code.
Just a thought.
Just leaving this comment to prevent a beginner from using this as a legitimate security measure
(assuming they read documentation). Cool feature though.
----
Server IP: 45.112.84.4
Probable Submitter: 45.91.158.213 (proxied: 12.197.249.50)
----
Manual Page -- https://php.net/manual/en/security.hiding.php
Edit -- https://main.php.net/note/edit/128154
Del: integrated -- https://main.php.net/note/delete/128154/integrated
Del: useless -- https://main.php.net/note/delete/128154/useless
Del: bad code -- https://main.php.net/note/delete/128154/bad+code
Del: spam -- https://main.php.net/note/delete/128154/spam
Del: non-english -- https://main.php.net/note/delete/128154/non-english
Del: in docs -- https://main.php.net/note/delete/128154/in+docs
Del: other reasons-- https://main.php.net/note/delete/128154
Reject -- https://main.php.net/note/reject/128154
Search -- https://main.php.net/manage/user-notes.php