Hi there, I have a Servlet that opens a Word Document in MS Internet Explorer. Does anyone know if there is ANY way that I can disable the 'Save As' feature of IE either using Java or Javascript or anything else for that matter! Thanks in advance, D
Stanley Tan
Ranch Hand
Joined: May 17, 2001
Posts: 243
posted
0
I don't think that's possible. But if ever you do find the solution, post it here!
Dave Turner
Ranch Hand
Joined: Mar 13, 2001
Posts: 60
posted
0
You cannot directly prohibite the saving of a document that you make available on the internet, when the document isviewed it will most likely be downloaded into the users temporary internet files directory. However, i think you could open the Word document in a new window with no menu, toolbar and addressbar, you'll need to use javascript ( window.open(....) ) to do this but it should stop most users from saving the document. Hope this helps Dave
Shubhrajit Chatterjee
Ranch Hand
Joined: Aug 23, 2001
Posts: 356
posted
0
I am not very sure but if you want to prevent your users from saving the document, then you might use a PDF file with save disabled. I got this idea because I have a pdf copy of Ed Romans EJB book which I am not able to print...(It is print restricted) ------------------ Shubhrajit
Shubhrajit
Fabrizio Gianneschi
Ranch Hand
Joined: Nov 29, 2001
Posts: 70
posted
0
Originally posted by Shubhrajit Chatterjee: I got this idea because I have a pdf copy of Ed Romans EJB book which I am not able to print...(It is print restricted)
I've downloaded that pdf copy, too. But save is not inhibited. If you look on the security options, nothing concerns saving permissions. I suspect that you can't block the save option on pdf files... but I'm not sure. :-?
------------------ Fabrizio Gianneschi Sun Certified Programmer for Java2 Platform
Fabrizio Gianneschi<br />SCPJ2, SCWCD, SCBCD
Dave Donohoe
Ranch Hand
Joined: May 16, 2000
Posts: 73
posted
0
Thanks for your help guys, much appriciated. D
Jason Kilgrow
Ranch Hand
Joined: May 21, 2001
Posts: 47
posted
0
Originally posted by Dave Donohoe: Hi there, I have a Servlet that opens a Word Document in MS Internet Explorer. Does anyone know if there is ANY way that I can disable the 'Save As' feature of IE either using Java or Javascript or anything else for that matter! Thanks in advance, D
This topic has been discussed recently in the JDJList email list. There were a lot of ideas thrown out there. Something that you can do is to protect the document with a password. This won't stop the person from copy/paste the text but it could stop them from saving the document. Probably the best idea that was discussed was that of creating the document as a pdf file. This can be easily accomplished from Word by printing the document to the Acrobat PDF Writer. I think it's a free download and it looks just like a printer but it allows you to save the document as a pdf file.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.