This content has been marked as final. Show 10 replies
What you are describing is effectively a DRM (Digital Rights
Management) system. It is not really practical to create one to
protect single files (licensing costs are a major obstacle), but you
might find one for purchase that suits you.
Thanks for the suggestion.
Are you able to suggest some DRM solutions that can be implemented on ASP.NET?
(Hopefully they're free, or at least... affordable.)
I don't know of any that cost less than a few thousand dollars, though
that is still much less than creating your own would cost.
Adobe Policy Server
These are two possibilities.
Thanks. I've seen both, and both costs too much.
Isn't there ANY way in passing a "password" parameter in ASP.NET to open the password-protected PDF?
>Isn't there ANY way in passing a "password" parameter in ASP.NET to open the password-protected PDF?
No, very specifically left out. Only a plug-in (installed by the user)
can provide a password.
There's a similar thread in the Acrobat Windows section, and the answer is the same - only a DRM system with a client UI (such as Adobe Digital Editions) can restrict the *use* of a file. You cannot prevent the client downloading and saving it, as otherwise they can't see it on their screen. The page you're reading now is not on a computer at Adobe - it's on yours.
> What can I do in the CodeBehind to enable the server to OPEN the pdf, and at the same time, pass the correct password to the viewer to open without prompting?
I think you're getting the flow a little backwards - the PDF is 'opened' by the client, using their copy of Adobe Reader (or whatever). The webserver has nothing to do with the process other than blindly sending the file's 1s and 0s down a wire, so can't do anything to directly control the client's desktop applications.
Hi. I am having many pdf files with password protection. Actually, they all are my files and passwords were set by me too before many times. But now a days, even i forgot the password for those files. I tried many ways to open the files but nothing works here. Can anyone help me out in this manner? I would appreciate deeply.
> But now a days, even i forgot the password for those files.
Unfortunately your PDF is then lost. If there were a way around the security without the password, it wouldn't really be "security" at all.
gautamvala, your PDF is NOT lost. Google "PDF Password Remover".
Please read the following product limitations from the PDF Password Remover site:
> Please note that PDF Password Remover doesn't work with documents which have 'user' password (preventing the files from being opened), if both user and owner passwords are unknown the PDF Password Remover will fail.
You can write your own plug-in with the SDK that will recover a PDF that only has an 'owner' password on it (preventing editing, copy/paste, etc.). If the PDF prompts for a password on open, you can't remove this security without knowing the password (or brute forcing RC4).