How to prevent someone from framing or cloning your site?

Started on the old forum in April 2010 · view the original in the archive · old links redirect here

15 replies · 2,728 views · started 16 years ago · 1 min read

TL;DR · summary of 15 replies
  • monsp3 is worried about a malicious user using PHP curl to steal bandwidth from his dedicated server.
  • jamica suggests not telling anyone about the site and CreativityKills provides code suggestions for better file downloading security.
  • ksg91 recommends adding hotlink protection, while amylee advises focusing on creating more unique features rather than worrying about others copying their work.

Written automatically from the replies by a language model on our own server. It can be wrong; the posts below are the source.

11 participants
monsp3 Developer · 57 posts #1

Just help the others from cloning, the main problem is not about the cloning it's about the stealing of server resource, the guy is using PHP curl, beware of loadmob.com

he's currently stealing stuffs from downloadswap.net right now,

people stop talking about not worrying about things like this because I am in a dedicated server 500GB = 19.99$ and I use about 150 - 180GB a day and with that guy tried to clone me it increases, I upgraded my bandwidth like 5 times last month.

If don't have anything good to say or to contribute, just STFU!

monsp3 Developer · 57 posts #3

I dont have any idea on how to do that, you might know and might wanna help?

WhiteWarrior Principal · 1,419 posts #4

There isnt any way to "stop" people from cloning it, the only possible way to stop people is not to tell anyone about it lol otherwise get some copyrights etc.. that may help but there will always be someone out there who will copy it. thats the art of coding, so many people can do it they just seem to abuse it 🙂

monsp3 Developer · 57 posts #5

^ thumbs down! no further comments.

jamica Newbie · 6 posts #6

makvanpor2000 what u said make no sense what so ever host cookie lmao that wouldnt get in his hosting account white warrior is right dont tell anyone about your site lol

jamica Newbie · 6 posts #7

if i could i would host u a brain.

CreativityKills Lead · 833 posts #8

I wana assume ur site is a download site then? Its easy, dont hotlink your files. Add a captcha that pops up anytime u wana download a file. Make sure all ur downloads go through a file dl.php?f=(file_id or file_name).

So ur dl file could be something LIKE:

<?php define('__SILENCE__','Silence is golden.');
/**
* $id dl.php 15-04-2010 09:00 mobilegigs $
*
* @author Neo Ighodaro
* @copyright CreativityKills (c) 2010
*/

// Simple post check
if ( ! $_POST)
{
 // Display a captcha page
 include_once 'captcha_form.php';
 exit;
}
else
{
 // POST was made, verify the Captcha
 if( ! empty($_SESSION['captcha']) AND ! empty($_POST['captcha']) AND ($_POST['captcha'] === $_SESSION['captcha']))
 {
   // Allow download :)
   $dl_from = isset($_GET['f']) ? $_GET['f'] : NULL;
   header('Location: '.$dl_from);
   exit;
 }
}

To make everythng safer, ur link shud neva have the folder name its downloading from BAD: dl.php?f=mp3/music_file.mp3 BETTER: dl.php?f=music_file.mp3&from=1 BEST: dl.php?from=5am5gtjai&f=music_file.mp3 (from should probably be an md5 encrypted name ov ur folder)

in ur dl.php u may add a

function valid_folder($md5_folder)
{
/// Loop ur dir names(md5 encrypted) to see if any matches the md5 argument
/// also check the files existence if the folder is found
/// if any ov d above conditions fail, bail
}

You have to work out the rest coding urself as i duno how ur site is coded. Bt u have an idea ov wot 2 do. Gudluck. Oh also change ur folder name, dnt use conventional names like mp3, video, music n sh!t.

amylee Principal · 1,092 posts #11

its the people who worry about other people copying them that are the real loosers in this game rather than worrying about that crap, do something about it and create a site more unique with advanced features than before

amount of people who copy my site, its features and themes, i couldnt give a flying pigs ass about it just shows i'm obviously doing something right

monsp3 Developer · 57 posts #13

please read the message carefully, it's not just about cloning, Im most worried about the site stealing bandwidth from my site.

It's not like he copied it manually and downloading and uploading stuffs from my site but he uses PHP curl something like that to like "FRAME" my site removing my ads my logos, inserting his own .

Each time a person tries to download from his site it would be deducted in my server, 500GB cost 19.99$ in godaddy and I use like 150-180GB a day and it increases when this guy does the said trick.

I stop replying from this thread because I already found a way to stop him and he is now cloning downloadswap.net's site.

People stop talking **** specially if you don't know what you are talking about.

subzero Super moderator Fellow · 3,954 posts #15

i posted leechers fook off tool here not long ago and yes it works

and i tell you now i dont care for cloning but leeching from my site i will bitch slap you and your ugly site down....

lol

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

ewanz Developer · 187 posts #16

I agree with sub, **** 0ff bandwith leechers

our lfe is simple words.... 😌 http://mygenkz.net ewanz06@yahoo.com

$output="i am NOoob....";
$newfile="ewanz.txt";
$file = fopen ($newfile, "w");
fwrite($file, $output);
fclose ($file); 

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close