Friday, March 23, 2012

PDF and attribute

I have reporting service 2005 report, Through Render method, populating PDF
file. Is there anyway, we can set PDF attrubute file to prevent user to
modify?
with Readyonly attribute, user can change the property of a file?
any othereway, we can make PDF can not be modifed using Editor?
in short, make the PDF readyonly.On Dec 10, 2:20 pm, Kalyan <Kal...@.discussions.microsoft.com> wrote:
> I have reporting service 2005 report, Through Render method, populating PDF
> file. Is there anyway, we can set PDF attrubute file to prevent user to
> modify?
> with Readyonly attribute, user can change the property of a file?
> any othereway, we can make PDF can not be modifed using Editor?
> in short, make the PDF readyonly.
Normally, if a user has a PDF creator software, it is hard to keep
them from modifying the PDF file; however, to set the attributes to
read only, you could try something like this in a custom ASP.NET
application.
http://www.java2s.com/Tutorial/VB/0240__Stream-File/SetfileattributesHiddenReadOnly.htm
Hope this helps.
Regards,
Enrique Martinez
Sr. Software Consultant

No comments:

Post a Comment