如何限制用户不要执行浏览器“另存为”,“打印”动作[关闭]

For restricting a user to print a answer is given in the link..

how it can be handled for save as?

The Save-As-Feature is handled by browsers differently. Some just copy their cached files, some make a new request and rewrite up files to a local structure. It IS possible to undergo every protection you might think of!

But, if you really care, you can at least make it a little less easy to save your content with some javascript and css hacks. (see this link also suggested)

  1. disable printing by setup a print-stylesheet with *{display:none} - very annoying for the user, but works
  2. disable the right mouse-button, to not let the user see your source - very, very annoying, and most actions can be used via the browser navigation menu.
  3. disable the clipboard - most users won't see that "feature", but it works.
  4. disable the save-as by dynamic loading of content could work in some browsers. for doing this, you have to present a page with just javascript (or at least a header, footer, etc) that loads the content of your page with ajax on page load.

You can not restrict what a user does with your content once it is on their computer. Even the CSS hack linked in that question is easily defeated.

If they want to save it to disk, print it, fold it, spindle it or mutilate it, they have that ability and there is nothing you can to to effectively stop them.