I was recently informed by someone that my website was copied. When I looked at the linked that he gave me I so that the site was identic to mine except for the logo and text. Is there a way to hide my code? Or to make it impossible to right click on my page? I saw on some websites that if you go to http://example.com/images/ it will show access denied, not a list with all your images...How do they do it? Thank you!
You can't hide your HTML source code in browser anyway because your browser needs HTML code to run and view the web page. However, here are some other techniques to minimize web scraping or code copy-pasting : Use REACT JS to minimum encapsulate your source code.
HTML security consists of three different security measures: HTML encryption to ensure web content cannot be accessed by unauthorized users. The use of digital certificates to validate a domain and ensure content is coming from a trusted location (the URL in the browser address bar).
You can do stuff which amounts to security through obscurity, but the only way to prevent your client-side web source from being copyable is to not push it down the wire, to not deliver it in the first place, shut down your website.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With