Acrobat User Community Forums

You are not logged in.     Log in to your AUC account.     Don't have an account? Sign up today

#1 2007-08-10 09:54:30

jnixon78
Member
Registered: 2007-08-10
Posts: 0

Disable toolbars, menus and right-clicks.

Hi all! Just a noob here. I need help figuring out how to do 4 things. I have a web site that will automatically open a PDF file in a new Internet Explorer window. After that, I need to:

1. Disable the toolbar (also cannot be opened with F9)
2. Disable the Right-Click on the document.
3. Disable the File menu.
4. Allow the user to Print somehow, but they can't open a menu or toolbar.

Basically, I'm trying to get around the whole "can't prevent saving" of a PDF. It's okay that it's in the temporary internet files. I'm just trying to disable things that the average user would try to do to save PDFs.

Thanks a lot in advance guys!!


My Product Information:
Reader Standard 8 / Windows

Offline

 

#2 2007-08-10 13:36:13

Dimitri
Member

Registered: 2007-04-23
Posts: 250

Re: Disable toolbars, menus and right-clicks.

Hi jnixon78,

Lots of people would like to get around "can't prevent saving" a PDF, but there is no easy solution, sorry. In fact, I would say it is impossible.

The best option for you is to invest in a DRM solution that gives you control over what, who, when etc. can use,view, or pass around your file.  But I don't believe ANY DRM solution currently on the market can prevent "saving" a PDF once it is downloaded on a user's system.

You have discovered the disable toolbar option- there is also a disable Menus option.  But these can be turned back on, as you stated in your item #1.  You can also have a print button on your PDF so the user can print without the menus or toolbars.

Hope that helps,

Dimitri
WindJack Solutions
www.windjack.com

Offline

 

#3 2007-08-10 16:35:21

jnixon78
Member
Registered: 2007-08-10
Posts: 0

Re: Disable toolbars, menus and right-clicks.

Actually I figured it out. I embedded a PDF that was created as Full-screen by default. Then, I used this code to open a new window:
window.open("pdfdoc.html", "main" , ["Top=50", "right=170" , "Toolbar=no", "Location=0" , "Menubar=no" , width="700" , "height=600", "resizable=yes","scrollbars=no", "status=no"])

Works pretty well, but I also was able to find code via Google to disable right-clicks, just in case anyone wants to try saving the page that way. So it seems like those are all working, except I'm having problems getting a Print button to work in Firefox. I'll post separately about that item. Thanks!

Offline

 

#4 2008-10-25 05:13:04

subba_rao80
Member
Registered: 1969-12-31
Posts: 2

Re: Disable toolbars, menus and right-clicks.

jnixon78 wrote:

Actually I figured it out. I embedded a PDF that was created as Full-screen by default. Then, I used this code to open a new window:
window.open("pdfdoc.html", "main" , ["Top=50", "right=170" , "Toolbar=no", "Location=0" , "Menubar=no" , width="700" , "height=600", "resizable=yes","scrollbars=no", "status=no"])

Works pretty well, but I also was able to find code via Google to disable right-clicks, just in case anyone wants to try saving the page that way. So it seems like those are all working, except I'm having problems getting a Print button to work in Firefox. I'll post separately about that item. Thanks!

Hi this is kiran kumar,

I have tried it, but this is not working. Please guide me how to use the above script.

Thanks

Offline

 

#5 2008-10-25 05:18:25

subba_rao80
Member
Registered: 1969-12-31
Posts: 2

Re: Disable toolbars, menus and right-clicks.

1) I have created PDF form, I want to do like below points:

1. Disable the toolbar
2. Disable the Right-Click on the document.
3. Disable the & menu. address bar of Internet explorer.

If its happen , Please guide how to goabout it.

Thanks!!!

Offline

 

#6 2008-10-29 06:00:40

qaz123
Member
Registered: 1969-12-31
Posts: 1

Re: Disable toolbars, menus and right-clicks.

jnixon78 wrote:

Actually I figured it out. I embedded a PDF that was created as Full-screen by default. Then, I used this code to open a new window:
window.open("pdfdoc.html", "main" , ["Top=50", "right=170" , "Toolbar=no", "Location=0" , "Menubar=no" , width="700" , "height=600", "resizable=yes","scrollbars=no", "status=no"])

Works pretty well, but I also was able to find code via Google to disable right-clicks, just in case anyone wants to try saving the page that way. So it seems like those are all working, except I'm having problems getting a Print button to work in Firefox. I'll post separately about that item. Thanks!

I think that those measures can be avoided by pressing F8 for displaying the toolbar again and by pressing Ctrl-Shift-S for saving.

Last edited by qaz123 (2008-10-29 06:01:45)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

AcrobatUsers.com  >>  User Groups • News • Events • Articles • Blogs • How To • Resources • Member Log in