Does disabling right click have any impact on secu

2019-06-01 20:00发布

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?

2条回答
乱世女痞
2楼-- · 2019-06-01 20:42

No is not good to disable the right click in website. For details Click below

http://www.sitepoint.com/dont-disable-right-click/

查看更多
唯我独甜
3楼-- · 2019-06-01 20:58

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

查看更多
登录 后发表回答