PHP Define security issues?
<p><strong>index.php:</strong></p>

<pre><code>define("included", true);
</code></pre>

<p><strong>INCLUDED PAGES:</strong></p>

<pre><code>if (included !== true) header('HTTP/1.1 404 Not Found'); 
</code></pre>

<p>The purpose for the codes was to disallow access directly but allow it if included. I am not sure if this opens any risks. I am not allowed to override <code>.htaccess</code> so I am stuck with a PHP alternative.</p>

<p>Any help would be much appreciated!</p>
