Securing Joomla Media Files With Login Sessions

May 11, 2010 in Blog, Web Development by admin  |  No Comments

We recently completed an excellent Joomla file protection script which allows Joomla CMS webmasters to secure their digital files based on the current user login session preventing leeching.

Using our Joomla file protection script you can simply drop our securefile.php in any folder that contains files that you want to protect and they will only be loadable by registered and logged in users.

Here’s how it works:

  1. All file requests for media files including videos and images are automatically passed to securefile.php
  2. securefile.php checks that the user is already logged by checking the Joomla session and cookie data
  3. displays the requested file, or shows an error message if permission is denied.

An example usage would be that you have a several .swf presentations that you want to show to your registered users only, they view your webpage source code and then steal the link to the .swf (such as http://www.mywebsite.com/files/presentation4.swf). The user then shares that direct link to your presentation with non registered users resulting in bandwidth usage and lost revenue. With the leech protection system those direct links will not work for non registered users.

This beauty of this system is that you can keep using your existing video players and presentations on your site as you always have without having to modify your code. We can set this up for you, contact us for more information.

Posted in Blog, Web Development and tagged , , , .

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>