|
I share a web host with a friend and i think they are using my codes for their website too. i would like to ask if how do you encrypt your codes but still the website (my website) will still work?
so that even they download my files they cannot open it or even they manage to open it, it will just display gibberish? how do you do that?
i hope you got my idea
To all web developers this question is for you!!?
I don't think you can stop them, especially if they are the primary account holders or if they own the server. Hosts are cheap now, so you should get your own domain and host. I use 1and1.com to host mine and register my domains. I pay $5/month for 2 domains, 50 GB storage, 250 GB transfer per month, up to 1000 email addresses, and password protected directories. You can also use CGI on their servers if you have that package. If you're interested, use my referral link when you order: http://www.1and1.com/?k_id=11001016
If you're just talking about HTML code and not CGI programs, you can make it harder for them to steal your stuff by using Javascript to encode the web page characters in URL-escaped format (with the % signs all over). There's also that method of using the HTML escapes as in one of the answers above. But that's kind of obvious to anyone who knows what they're doing. You might have to really make that Javascript code ugly for it to confuse them, and even then it might not work. If it is HTML they're stealing, there's no way to stop them even if it's on another host. You can confuse them a bit, but you cannot stop them if they know what they're doing. If your friend does not know what he's doing, you'll be OK with that solution. Stealing CGI programs requires access to the server though, so using a different host would help with that.
|