Securing your PHPmotion site

Please note this post was written for V1 it most likely will not work for more recent versions of PHPmotion. Make changes at your own risk and always keep backups!

Whilst my PHPmotion demo site is far from being a possible target for hackers some of you may have much busier web sites! Which also means you’re more at risk then me :P

And as the saying goes better safe then sorry I thought a quick safety post wouldn’t hurt anyone, now I’m no expert with security issues by any means however after looking around several other open source projects I noticed a few easy to do things which could help prevent an attack or at least make it harder for them ;)

Starting off simply with remove with removing setup.php from /siteadmin/ I found out several peoples database details within 10 minutes of searching… Now I’m no hacker but I’m guessing someone with bad intentions could get up to no good if you leave this info lying about…YOU HAVE BEEN WARNED

Change the name of siteadmin folder, nothing is stopping you from simply changing the name of the folder. For example anyone who knows PHPmotion knows the admin area is there. But it doesn’t have to be! Call it something else even if it’s only siteadmin123 you’ll still have safer feeling knowing that people will have more trouble finding your admin area.

Did you know that currently whilst the PHPMotion script itself is pretty safe yet it’s structure makes it easy to help yourself to everyone else’s videos? A way to make things just a little bit harder for people is to add a blank index.htm (except root of course) file in every directory. Trust me this is IMPORTANT without these anybody can download any file (yes even php) which means all the insides of site are laid bare.

Anyway hope these helps some of you, now don’t you feel slightly safer?

5 Responses to “Securing your PHPmotion site”


  1. 1 Siringo

    Useful post Ben, thanks.

  2. 2 Michal

    Useful, but instead of using blank html file you could work with htaccess that would be much saver. You could also use both

  3. 3 raghu

    Nice and usefull info.. thanks
    I am using phpmotion script on ma site http://www.justpeep.com and its good.

  4. 4 chuck

    What about the stats, they stop working when you change the file name
    of siteadmin?
    It just times out.

  5. 5 Ben

    Hi Chuck, Sorry this post was written a long time ago (2007). It may not work with the newer versions of PHPmotion.

Leave a Reply