Groups | Blog | Home
all groups > sql server reporting services > december 2004 >

sql server reporting services : Exported PDF Security



WertmanTheMad
12/27/2004 12:24:14 PM
If anyone says yes, well theyre wrong.

The issue here is not Reporting Services but rather the PDF Spec,

Using tools I will NOT mention here , I can edit any PDF , from any
source "AT-WILL"

The funny part is the tools I use are the same tools "I" use for allpdf
work and I have had developers/designers choke on their words many a
times over this exact issue.

I go by the xiom of , "If a client can read it, so can I" (client being
client tool, webbrowser, pdfviewer etc) but you can always take that a
step further and say "If I can read it I can change it"

NOW All that said is there a way to "Lock" a PDF Against edit for the
other 99% of people, yes, but I am unsure if RS has it implemented, I
have not seen it anywhere in the docs.
Vaibhav
12/27/2004 2:15:41 PM
Hi All

I am using SQL Reporting Services. I looked into the properties of the
generated .pdf file and it allows user to edit the file contents using a
full version Adobe Acrobat.

Is it possible to make the exported PDF file uneditable ? Any help on this
will be hisghly appreciated

Thanks
Vaibhav Sharma


Bruce L-C [MVP]
12/27/2004 2:59:31 PM
RS does not support any type of locking of the PDF. You could write your own
extension to do this.

--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Vaibhav
12/27/2004 4:55:52 PM
Any pointers on how to do that? I mean how to go about writing an extension.

TIA


[quoted text, click to view]

Bruce L-C [MVP]
12/27/2004 5:14:31 PM
I know it is possible because 3rd parties have come up with additional
rendering extensions but looking at it another way (and definitely easier)
you could have a delivery extension (if you are sending this via
subscriptions). Your delivery extension could save the report as a pdf file,
then run it through whatever utility that locks the pdf and then you send it
on via the email. Look in the help on delivery extension.

--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Vaibhav
12/28/2004 10:36:44 AM
Thanks very much.

But in my case i am not sending file by susbscription, i am displaying
report as link and generating it on demand like an invoice pdf file.


[quoted text, click to view]

Bruce L-C [MVP]
12/28/2004 10:55:03 AM
If you have your own UI (i.e. not using Report Manager but using your own
ASP.net application) then you could use the same technique by using web
services to first render PDF on your server, run the untility and then send
the resultant protected PDF to the user. If you want to use Report Manager
portal then there is not an easy solution that I can think of.

--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button