javascript - How to disable (View Source) and (Ctrl + C ) from my site -


Is there a chance to disable both of these things from my site? (See source) and (Ctrl + C)

It is not possible that you code in any way You can try to obscure, but you have to send something to the customer, right? You can use AJAX calls to load your html. In this way, the browser which will show that source can be almost empty, however, nothing can stop the experienced user from seeing everything you send to the customer. Actually there are so many tools in it that can be used to reconstruct the page, which will work hard to implement any technique, it will only delay it for a few minutes.

Ctrl-C You can add javascript to block it, but it is useless, because the user can always disable javascript. In fact, many users will get a very troubled right-click block.

All of this can have a meaning if you are building intranet applications or you can send users an integrated browser to see the app. With public HTML, I believe that it is not worth trying to create a solution with Flash or some other plug-in to make your application. In this way you can encrypt everything sent to the customer.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -