PDF Password

Reply
Frequent Contributor
Posts: 139

PDF Password

Hi,

do somebody know how to apply password on pdf document using SAS.

Thanks

Super Contributor
Posts: 282

Re: PDF Password

Posted in reply to manojinpec

Hi,

Are the following options of any help in the "Securing ODS Generated PDF Files" section of the following link:

SAS(R) 9.2 Output Delivery System: User's Guide

Regards,

Amir.

Frequent Contributor
Posts: 139

Re: PDF Password

Thanks Amir!!!

Actually i already has pdf files. I just need to password protect it and send it over email. I use SAS since sas extract data which is fed into excel which creates these pdf's.

Trusted Advisor
Posts: 1,319

Re: PDF Password

Posted in reply to manojinpec

You may find this blog post useful on encryption that has an example on encrypting a .pdf file in SAS 9.4,

How to use encryption in Base SAS 9.4 - SAS Users Groups

Cheers,

Michelle

Frequent Contributor
Posts: 139

Re: PDF Password

Posted in reply to MichelleHomes

Hi Michelle,

Thanks for reply. But this is not exactly i needed. I already have pdf files. and thorugh SAS code i need to apply password.

Occasional Contributor
Posts: 9

Re: PDF Password

Posted in reply to manojinpec

Hey, manojinpec.

I think Michelle has given the right solution for your PDF encrypting issue. So please add a mark to her answer which will help later readers find the answer directly. Thank you.


Frequent Contributor
Posts: 118

Re: PDF Password

Posted in reply to manojinpec

Hi,

May be some SAS System options like : PDFPASSWORD / PDFPW  and PDFSECURITY (High/Low) can help you !

just try like this :

options pdfsecurity=high pdfpw =(owner='password' open='open') ;

ods pdf file="name.pdf";

proc print=DSN;

Run;

ods pdf close;

Regards

Uma Shanker Saini

Frequent Contributor
Posts: 139

Re: PDF Password

Posted in reply to umashankersaini

Hi Uma Shanker,

Is it working for you?This is not working for me. Smiley Sad

Frequent Contributor
Posts: 118

Re: PDF Password

Posted in reply to manojinpec

Hi,

Sorry for late reply, i was not in touch with network...

get back to you in evening time.. will check from home...

Ask a Question
Discussion stats
  • 8 replies
  • 480 views
  • 3 likes
  • 5 in conversation