Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have an exe which block many screen capturing utilities. My PDF itself is blocked and no one can copy text from it, I want to embed that exe file into my pdf and by running pdf file that exe executes automatically.

How to do this?

share|improve this question

3 Answers 3

up vote 5 down vote accepted

This can not be done. An executable file can not be embedded in a PDF file. This would allow viruses, trojans, backdoors, rootkits, etc. to take over machines. It would be the most major security hole possible.

For the sake of argument, lets say you could do this (and you definitely can not) .EXEs would only run on Windows machines (and not every Windows machine may be able to run it). It would not work on Macs, Linux, Unix, or any other OS. Also, no one in their right mind would ever use a PDF for fear it would infect their machine.

On a side note, locked PDFs can be easily broken. Also, there is always a way to do a screen capture, like capturing the screen buffer for example. Even if you could prevent a screen capture, all one would have to do is run the program in a VM and capture the screen from the host. Simply put, no matter what file type or forms of protection are in place the data can be copied. If the data is viewable by someone, then the data is copyable.

share|improve this answer

You can't automatically execute an EXE file with a PDF, that would be a huge security issue. You would have to find some exploit which would be detected by anti-virus software etc. in order to do so.

share|improve this answer

As an alternative solution; I'd look in to embedding the PDF within an application that achieves such an effect. Instead of distributing the PDF, you'd just give them the .exe.

share|improve this answer
    
that exploit was closed years ago. –  Keltari Jan 21 '13 at 12:42
    
Removed offending link –  Sam Jan 21 '13 at 12:45
    
an exe wont work for the many reasons listed in my answer. simply put, he can not do what he is asking. –  Keltari Jan 21 '13 at 12:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.