Jump to content

PHP to protect files


ekimmai

Recommended Posts

Hi

I'm very new to PHP and am trying to implement the technique described here (http://ryanfait.com/resources/protect-flash-files-from-download/) to help protect some flash files on my website. I have followed the instructions to the letter and am confident that I am correctly pointing to my swf file but the php page is blank. Does the method described work in principle? Could this be a permissions issue? Does the .htaccess file need to be one level above the swf files perhaps? Is there any useful way I can debug my code? Do I need to use MySQL for this in any way?  :shrug:

When I point directly to my "real" swf file it works fine in displaying the flash (via php address) but doesn't work when I use the indirect method described (with intermediate flash.swf file).

Apologies for my obvious lack of know-how! Any help would be most gladly received.

 

Link to comment
https://forums.phpfreaks.com/topic/244901-php-to-protect-files/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.