To prevent the right click, simply add following to your body tag of page as given below-
<body oncontextmenu="return false">
To prevent the selection of text on web page, add following in your style sheet-
This is tested code in one of my website. It works in all latest browsers approx.