Lawsuit fun, need help with lock script!

Not sure where I should put this.

We built a site for a client, and it had to be built on his server that he bought which was fine, everything is sealed up tight by a contract. The kind of site required a server for us to build.

Now things have gone awry, and we need to keep the site up legally for another week or so, but I also need to figure out how to prevent him from taking the files and running.

Is there a lock script or something I can do?

He has cPanel access but doesn’t know really what to do with it, but I wouldn’t put it past the client of finding out how and logging in to take em.

Thanks in advance.

Is it Flash? Do you have the source files on the server?

If it’s HTML you’re going to have trouble keeping control of the files - there’s just not a good way to prevent him from downloading all of it.

If it’s Flash there’s all kinds of fun stuff you can do - you could even set the site to expire after a week and completely stop working, and if he doesn’t have the source files, there’d be no way to change it. :thumb:

It’s majority html / php with some SWF’s. The fla’s aren’t on the server, but they aren’t that big a deal, he could still have someone else make what small flash has been made.

You could make the SWFs stop working after the week, that’d be pretty easy, but as far as the HTML that’s very open, I’m not sure what choice you have there. You could put timers in the PHP too, heh.


var cutoffDate:Date = new Date(whatever time you want);
function checkDate():void
{
     var rightNow:Date = new Date();
     if (rightNow > cutoffDate)
     {
          drawABigUglyBoxOverAllTheContent(lol);
     }
}

Cool dude, really appreciate the help.

Obama still kills babies tho! =p

[quote=Syous;2337661]Cool dude, really appreciate the help.

Obama still kills babies tho! =p[/quote]

Haha, any time friend. :love:

If you want more specific code let me know, that was just pseudo-code to give you the right idea.

You can use software to scramble your PHP.

Where I work we have some cron job that runs everytime we push a website to the live server that encrypts the files. I can get more info on it if you would like.

^ Yes please.

lolz @post #5. :beer: