<div>Should&#39;nt it be somethig more like adding at the beggining of any file somethig like:</div>
<div>&nbsp;</div>
<div>if(!$_MYSECARRAY[&quot;SEC&quot;]) die();</div>
<div>&nbsp;</div>
<div>and a first&nbsp;general header file general.php only containing:</div>
<div>$_MYSECARRAY[&quot;SEC&quot;]=true;</div>
<div>&nbsp;</div>
<div>So main files such as index are the only ones including general.php</div>
<div>&nbsp;</div>
<div>Well, thats just one idea,</div>
<div>&nbsp;</div>
<div>Cheers,</div>
<div>&nbsp;</div>
<div>Jorge</div>
<div><br><br>&nbsp;</div>
<div><span class="gmail_quote">On 7/20/07, <b class="gmail_sendername">Paul Rogers</b> &lt;<a href="mailto:prrogers@gmail.com">prrogers@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">It is far more secure to move all possible files outside the website<br>root folder. For example, instead of storing &quot;
install.php&quot; and &quot;include&quot;<br>in the public &quot;vtiger&quot; folder it is wiser to move all publicly visible<br>files (such as &quot;index.php&quot;) to a &quot;public&quot; folder. Then the web-server<br>
configuration can point to the &quot;public&quot; folder and the scripts there can<br>require or include the other files using a back reference &quot;../&quot; or the<br>absolute path of the needed files. Then it is impossible for outside
<br>users to access sensitive files from the URL.<br><br>Vtiger&#39;s code also appears to be very inconsistent and messy. Editors<br>such as Kate and Jedit have options such as &quot;Clean indentation&quot; and<br>regular-expression search and replace which make cleaning the code
<br>simpler.<br><br>--Paul<br><br>_______________________________________________<br>Reach hundreds of potential candidates - <a href="http://jobs.vtiger.com">http://jobs.vtiger.com</a><br></blockquote></div><br>