Hello all,
I've looked at some htaccess tutorials but I cant seem to find an answer to this problem:
I have a flash game in directory /www/forums/game which accesses text files in folder /www/forums/game/data/
I can I allow the flash game to read the text files but not let a user point through the browser to the text file and read them?
I put this in the htaccess in the data folder which contains the text files:
Code:
Order deny,allow
deny from all
Allow from 127.0.0.1
but this blocked the access when going through the browser such as :
forums.com
But then the flash game could not read the questions from the text file folder.
Any help would be appreciated.