On a banking website or some other website, I saw that they have disabled right-click. Does disabling right click make the site any more secure in referance to client-side? Is it a good general practice?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
No is not good to disable the right click in website. For details Click below
http://www.sitepoint.com/dont-disable-right-click/
回答2:
No, it does not make the website more secure, it's just that if you have right click enabled then:
- The user can see the source code
- The user can use Console to keep a track on what data is being loaded from what location
- User can see your client side files (JS, HTML, CSS etc.)
But any user can easily bypass "Disable right click code" so that does not really help