stop direct access to file
Posted 26 October 2006 - 07:47 AM
The file that calls the php playlist file is a Flash file. The flash file is calling the playlist so the linked examples above fail because the playlist is not getting the correct message.
I have worked with php/flash inter-communication before but I did not build this mp3 player. This is the player: http://musicplayer.sourceforge.net/
So I need another way to keep the user from accessing the playlist file directly.
Posted 01 November 2006 - 05:59 AM
The problem is that the playlist file is called from a flash .swf
the .swf playlist access appears to the server as a regular direct playlist file access.
Perhaps if I could allow only designated php files to access the playlist file.
I have a file player.php. This file holds the .swf player. If this file only was granted access to open readable the playlist file. I am not sure this will work either as it is actually the .swf that opens the playlist.php. Also the playlist.php output is an XML playlist doc if that has any effect as to securing the contents.
Posted 01 November 2006 - 08:18 AM
Your swf requests secure.php which
/player.swf /player.php /locked/.htaccess /locked/playlist.php
deny from all
player.php will have access to playlist.php because it's on the server, but the .htaccess file will not allow anyone else to call it directly (on one can go http://musicplayer.s...ed/playlist.php
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users