nevergone 0 Newbie Poster

Hi,
Inside www.sitename.com/games/
I have
www.sitename.com/games/arcade_game1/
www.sitename.com/games/arcade_game1/game.php
www.sitename.com/games/arcade_game1/arcade_game1.swf

What I want is to allow access to the game.php only if data is sent from the swf file.
Eg:

arcade_game.swf is embeded on www.sitename.com/games/arcade_game1/index.php
You start the game,and then swf sends some data to the game.php,and the game.php echo'es back some other data.
I want that if you try to access the game.php directly you'd be redirected.
I also want that requests should be sent only from my website(sitename)

I tried this but the game doesnt work anymore ( got 403 error on game.php )
<files game.php>
order allow,deny
deny from all
allow from www.sitename.com
</files>