Does disabling right click have any impact on security?

情到浓时终转凉″ 提交于 2019-12-08 04:21:39

问题


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:

  1. The user can see the source code
  2. The user can use Console to keep a track on what data is being loaded from what location
  3. 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



来源:https://stackoverflow.com/questions/15017843/does-disabling-right-click-have-any-impact-on-security

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!