<html>
<head>
<title>Show PDF,WORD PPT in browser</title>
</head>
<body oncontextmenu="return false;">
<a href="https://docs.google.com/viewer?url=http://investor.google.com/pdf/2012Q2_google_earnings.pdf" target="_blank">click to open file in browser</a>
</body>
</html>
To disable right click you can use
<body oncontextmenu="return false;">
You can use Google Viewer API to show pdf/doc in browser.
https:
e.g.
click to open file in browser
You need to create custom control to achieve everything what you have described.