Website,
I would like security my website. Currently i have created a website with PHP, HTML, JS programming languages & CSS. But i need to secure that website from hackers. So my main objective is to avoid by downloading image & JS files by "right click/save as" option or Ctrl+s.
What i have done is, I have included this code in index.php : document.oncontextmenu = document.body.oncontextmenu = function() {return false;} //Disabled right click option
But, also they can download that sources(images & JS files). I have seen some websites in that we can't download js files Ex: http://ohmy-website-template.little-neko.com
So, Could you any one please help me to protect my website source codes. If that solution might be any web programming like Action script3.0, Php, JS etc.
Thanks in advance..:)