Forum Moderators: phranque
I have a text file in my server and it's been continuously modified by a server-side script. What I'd like to do is to prevent any user from accessing it, even if they know the direct URL. Only the server-side scripts should be able to access it.
I seem to recall a previous example (either here or in Forum11) in which a suggestion was made to place a file in a "lone" directory,
then create an htaccess for that "lone" diretory and "denying all".
This would still allow server sdie scripts to server the file.
Unfortunately, I could not find any reference to the example.