view pdf files and prevent save and print options in c#
<p>I want to load my pdf file in a web page. The user should not have the provison to save or print the file. 
the below code opens the pdf file as attachment,
but i want to open it directly in the page.</p>

<p>Please also provide any javascript that can disable the pdf menu bar too..</p>

<pre><code>  Response.ContentType = "Application/pdf";
  Response.AppendHeader("content-disposition", "attachment; filename=" + old_filename + ".pdf");
  Response.TransmitFile(Server.MapPath("~/pdf_files/" + old_filename));
  Response.End();
</code></pre>
