note 45301 added to security.hiding

From: Date: Wed, 01 Sep 2004 16:00:32 +0000
Subject: note 45301 added to security.hiding
Groups: php.notes 
Request: Send a blank email to php-notes+get-75846@lists.php.net to get a copy of this message
i see lots of security and sysadmin reasons here for omitting the .php extension -- but nothing yet references user experience as a reason to do this. URLs are your pages' "license plates" that your users see. There is no need for the user to know what CGI/Template/Language/Technology you are using. In fact, all the user should be told is "what i am sending you is HTML (or XML or ...)". Yes, the Content-Type header accomplishes this, but it can be reinforced with the file extension, especially if the user wants to save the page to their local machine. In short, there are reasons in the domains of security, sysadmin, and usability to *not* expose your webserver's underlying technology. Take a few minutes to implement this in your system, and the world will be a better place. ---- Manual Page -- http://www.php.net/manual/en/security.hiding.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+45301 Delete -- http://master.php.net/manage/user-notes.php?action=delete+45301&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+45301&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#75846) next »