This forum is for all the topics that don't fit anywhere else. Post anything from Hello's to Web Links.
 #49368  by Akimoto
 
I am looking for ...codes to add a .pdf document in my web-site. However I do not want to give the option to download the .pdf document, only view and browse it.

Something like this, except without the downloading option:
http://www.scribd.com/doc/408191/The-Book-of-Werewolves


If anyone know how to do this, please let me know. :arrow:


ty

 #49369  by Phoenix
 
Theres not really anyway around it. At least not using Adobe Acrobat to display it. Reason being that when a PDF is displayed in a webpage, it still retails the title bar which gives the user the option to save the PDF. Even if the title bar wasn't there, you'd still be able to use shortcut keys to save (Ctrl + S) or alternatively copy and paste the content from the page.

If you can let me know exactly what your trying to achieve, it might put me in a better position to help you. But to be honest if your trying to host content on a website with the intention of people not being able to copy it in any way, then your asking for an impossible solution. Things can be done to heavily prevent copying, but there is always a means and a way to copy the data.

Pho~

 #49370  by Akimoto
 
Im trying to display information that is already in a pdf file on my web-site without letting other people copy it easily.

 #49398  by Phoenix
 
As I mentioned above, there is no fool proof way of preventing people from copying if they want too.

When creating a PDF file, you have the option to set secruity options on them. As shown in the screenshot below:

Image

As far as i'm aware, you will need the full version of Adobe Acrobat, not just the standard free one. Obviously there are other programs capable of doing the same thing, I just don't have the time to research them. The professional version of Acrobat Reader is expensive, so unless you are able to obtain a copy then this may not be a viable solution.

Another potential solution, depending on how many pages the PDF is, is to save each page as an image. This is probably the easiest and most effective way of doing it. Although this still isn't fool proof as you'd only need to save the image and run some OCR software over it. Then you've virtually achieved the same as if you were to copy and paste. You would need some technical knowledge in order to do this, so for the most part it will prevent 99% of users from copying your data.

Pho~

 #49404  by Akimoto
 
Well, simply but i just want a PDF file displayed inside a page (html) without having a big "DOWNLOAD THIS FILE" link or option... sure, if they bother to find the exact url for the .pdf, they can have it. It's not like everyone that clicks on it is gonna know where to look.

~

 #49405  by Grimm
 
i have the full acrobat if u *edited* it, just lemme know *cough*msn*cough*



*Jawfin was here

 #49408  by Chantelle
 
That looks like a flash embedded into the page, depends what your coding in but I would suggest looking through the source code and testing and pinching it. That is what I have done for some things in the past when I needed them.. BUT it depends on what your coding in.

On that Page I am not sure even if that's a PDF at face value

If your working with a pdf though as Andy says.. It is sticky because theres a will and a way around these things

 #49410  by Akimoto
 
I dont really need it too be "Fort Nox" security...

I simply do not want people to see a big "www.linktodownload.com/FILE.pdf"

or "DOWNLOAD THIS FILE" links anywhere!... Sure if you bother guessin the URL or looking trough the source code and find it, i wouldnt care. If someone bothers to do that, they get it as a reward. -.-

 #52106  by Aayci Warrick
 
if an i-frame won't work, get down and be basic, take screenshots of your .pdf and put it together in a scrollable area, nobody will know the difference except you, and no nasty links needed, just make sure your image files are a good size