Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Best way to prevent someone from hacking/cloning/copying my website?

1) What's the best way to prevent someone from hacking/cloning/copying my website?

2) Is there a way to hide my source code? Or at least make it private, so that nobody can really see it?

I understand they can probably rip-off and copy my design and there'd be nothing I can do about it- but in terms of functionality, scripts, actual working code, etc, can I prevent these from being stolen/easily cloned?

My site is powered in PHP and MySQL.
Obfuscate Scripts... Encrypt the code... Browsers can read the encrypted code... but if it's encrypted, it will be hard for them to decrypt it...
Php is server side, if you're talking about html and other client side then your sort of out of luck
(Dec 26, 2014 10:07 AM)TheWholeWorldExplodes Wrote:  Php is server side, if you're talking about html and other client side then your sort of out of luck

Yup, my website is powered using PHP/MySQL, and HTML/CSS.

How does a site like Facebook or Twitter protect themselves from being cloned? I imagine it isn't easy for any developer to single-handedly 'clone' Facebook/Twitter without effort.
Copyrights and good lawyers prevent sites from being "cloned".
There is no way to be completely secure. Just do research and implement security measures that work and are reasonable for what you're trying to achieve.
You can't clone server sided code. They can only copy the html/JavaScript etc.

Personally I don't think it's much to worry about.about
Facebook do regularly get copied, it's just their actual scripting that is secure. Their html and css can still be copied easily enough
There's no way to prevent against HTML/CSS/Javascript ripping. PHP on the other hand is server side, making it impossible to rip directly.
There are too many ways for people to copy websites. All I can think of is have crawler protection.
Look at any wix site, it does well to hide a lot of its code via its use of html 5


Possibly Related Threads...
Thread / Author Replies Views Last Post
by عمران عبدة محمد العبيديFeb 17, 2026 10:42 AM 1 201 Feb 17, 2026 10:42 AM
Last Post: sejjel
by 3oxicFeb 25, 2024 10:55 PM 12 395 Feb 25, 2024 10:55 PM
Last Post: stdio
by notakiruMay 24, 2023 03:47 PM 1 94 May 24, 2023 03:47 PM
Last Post: cover7