Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Restrict saving of Word Document Opened in browser

 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I stream a MS Document file(Word, XL, PPT) to the client and the client is able to see the file in the browser but I want to restrict the save, print and CTRL+A for this document.
I am using Tomcat server and my OS is Windows XP. Someone please pour light on this.
Any help on this topic is very much appreciated.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is nothing you can do on the server to keep Word from allowing the user to save the document to his local machine.
 
Sivaraman Lakshmanan
Ranch Hand
Posts: 231
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ben,
Thanks for replying. Is there any other way I can do this. I just want the user only to see the document and not to do anything with that document.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Word docs are meant to be edited.
You may want to consider PDF.

Even still there is little you can do to keep them from saving a copy.
If determined enough, a user could take a screenshot of each page.
 
Paul Clapham
Sheriff
Posts: 21317
32
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In a browser, the user can right-click on a link and see a "Save As..." option to save the response as a file. There's nothing you can do to prevent the user from using that option.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic