|
Posted by Animesh K on 11/02/07 00:42
Steve wrote:
> "Animesh K" <animesh1978@gmail.com> wrote in message
> news:fgdnc8$25bu$1@agate.berkeley.edu...
>> I have a file abc.php which includes another file (which primarily has
>> text) called text.php.
>>
>> Is there a way I can secure the text.php file without affecting the
>> include_once('text.php') call in abc.php?
>>
>> By secure, I mean the outside user should not be able to find the file at
>> all.
>>
>> Of course one method is to obfuscate the name of text.php, but any simpler
>> solutions are preferred.
>>
>> Best regards,
>> Animesh
>
> put it outside the of the web root directory. make sure your web server has
> permission to acces the file.
>
>
Can you please explain it a bit more. Outside of the directory, but where?
Do you mean make a directory for those text files and keep it hidden
since people will not know where that directory is, so they cannot guess it?
Navigation:
[Reply to this message]
|