I know that 4images is mainly for images, but there are a few people out there like me, who need to use it for videos.
I have a site which gets about 80gb/bandwidth per day and need a solution for other sites stealing my bandwidth by embedding them onto their site.
I understand that most of you might think that doing a mod rewrite with .htaccess is the way to go, but there is NO WAY to stop this with an embedded video file, TRUST ME I have looked over about 100 different ways of doing the .htaccess and none of them work, bc windows media players gets around it since we are using the embedded tag in the templates for videos.
I have 2 categories:
Free Videos
VIP Videos
The only way I thought of preventing this is to create a cronjob which:
1. Rewrites the "cat_id" in the mysql table "categories" as well as the "images" table to a random number "example: lets say rename cat_id 332 to 837"
2. It would also change the categories name in /data/media/xxx to the random number from above automatically.
I would really appreciate it if someone could help me come up with a cronjob for this, which would run every 4 hours. I do not have enough coding experience to know where to being. This would totally eliminate people stealing the videos, since the directory name would change every few hours. It would also do the same for images if you don't want to do an .htaccess!
Thanks in advance for the help!
Mark