1164
you are viewing a single comment's thread
view the rest of the comments
[-] Adalast@lemmy.world 26 points 1 week ago

Bury it six JavaScript and 2 php scripts deep so it is a pain in the ass to find.

[-] Ascend910@lemmy.ml 9 points 1 week ago

Nice idea, is there a way to make it invisible ?

[-] Adalast@lemmy.world 19 points 1 week ago

Not that I know of. In the end you are editing the browser rendering parameters. Anyone can inspect the page and see that the opacity on the page is being turned down. Finding where it is happening is the only thing you can really make hard. Have a couple of the pass through scripts be machine generated and you can have it use nonsensical variable names and a bunch of dummies that lead on wild goose chases. It could all be fixable, but you can make it a pain in the ass. Add a redundancy or two and it will make debugging a nightmare because even if one is fixed, the others will make it look as though it has not.

The real answer is to have NEVER do freelance web development inside the client's firewall. Never. If they try to require it, walk away. If it is inside their firewall then they can just take the source code and stiff you. If they try to spout some BS about security, say that is precisely what you are concerned about and point blank ask them what safeguards they are willing to allow you to put in place for developing in their system. If the answer is none, walk. If they are willing to let you VPN in, run the code from a local copy over the VPN and node lock it so if someone attempts to serve it from another machine it fails.

Apologies. I'm tired and hate businesses taking advantage of "Independent Contractors".

[-] Agent641@lemmy.world 3 points 1 week ago* (last edited 1 week ago)

You obfuscate your code with random dead ends and weird variable names.

I obfuscate my code just by writing normally because I haven't learned how to write properly.

straightens tie

We are not the same

load more comments (1 replies)
load more comments (2 replies)
load more comments (2 replies)
this post was submitted on 05 Jul 2024
1164 points (98.4% liked)

Programmer Humor

31314 readers
59 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS