PDF Viewer

R

Rajinder Yadav

I would like to create an embedded pdf viewer on a website that would
allow visitors to view online documents but prevent them from
downloading and saving them. Is there a way to do with Ruby?


--
Kind Regards,
Rajinder Yadav

http://DevMentor.org

Do Good! - Share Freely, Enrich and Empower people to Transform their lives.
 
M

Marnen Laibow-Koser

Rajinder said:
I would like to create an embedded pdf viewer on a website that would
allow visitors to view online documents but prevent them from
downloading and saving them. Is there a way to do with Ruby?

This is really in the realm of client-side development, so you'd have to
use Flash, a Java applet, or (maybe) JavaScript. But don't do this,
since it will make life difficult for your users -- instead, set
appropriate restrictions on your PDF file.

And be aware that users will bypass the restrictions you set. :)
--
Kind Regards,
Rajinder Yadav

http://DevMentor.org

Best,
 
M

Michal Suchanek

2009/10/29 Rajinder Yadav said:
I would like to create an embedded pdf viewer on a website that would
allow visitors to view online documents but prevent them from
downloading and saving them. Is there a way to do with Ruby?

It's physically impossible, regardless of what various
DRM/DMCA/whatnot activists would like people to believe.

You see the document so you can save it. You can make the actual file
inaccessible but the information contained in the file is presented on
the screen so the user can, at the very least, copy it with a camera.

The rest is just question of inconveniencing the people who would want
to make a permanent copy of the document as well as people who just
want to view it. It's much easier to view documents offline than
online because offline viewing allows for greater resolution
(printouts), internet connection independence (and thus greater
location independence), etc.

There is no copy protection scheme known to me that would protect any
data worth at least a few dollars but many that can inconvenience the
user, to the point that users of legal copies seek unprotected
"pirated" copies to access the data for which they bought a license.

Thanks

Michal
 
S

Seebs

You see the document so you can save it. You can make the actual file
inaccessible but the information contained in the file is presented on
the screen so the user can, at the very least, copy it with a camera.

More generally:

Since you're displaying it on the user's machine, the data being displayed
have been downloaded to the user's machine.

It's over.

And yes, the annoyance value trumps any hypothetical security.

-s
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,777
Messages
2,569,604
Members
45,208
Latest member
RandallLay

Latest Threads

Top