CodeIgniter Forums
right click button in keyboard should be disabled to protect my sheet - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: right click button in keyboard should be disabled to protect my sheet (/showthread.php?tid=71142)



right click button in keyboard should be disabled to protect my sheet - kvanaraj - 07-11-2018

I already have an script to right click button to protect my page. but 
in keyboard there is a one button called right click (near CTRL). that button shows everything . how to fix it error.


RE: right click button in keyboard should be disabled to protect my sheet - Pertti - 07-11-2018

You can put some barriers in place, but there are a lot of ways getting around that.

In my opinion you are better of not trying to hide HTML/JS source code, but put effort into implementing actual security measures that protect the business logic/DB.


RE: right click button in keyboard should be disabled to protect my sheet - kvanaraj - 07-11-2018

(07-11-2018, 04:30 AM)Pertti Wrote: You can put some barriers in place, but there are a lot of ways getting around that.

In my opinion you are better of not trying to hide HTML/JS source code, but put effort into implementing actual security measures that protect the business logic/DB.

I am not aware of that attack the website. how to check the attackers details via codeigniter or this can be only server side.


RE: right click button in keyboard should be disabled to protect my sheet - Pertti - 07-11-2018

(07-11-2018, 04:48 AM)kvanaraj Wrote: I am not aware of that attack the website. how to check the attackers details via codeigniter or this can be only server side.

You said in OP "protect my page" - with context of disabling right click, I thought you meant it as way to make it harder to see HTML source.