Secure pdf asp.net


















Remove From My Forums. Answered by:. Archived Forums. Security for ASP. NET security authentication, authorization, membership, roles, etc. Sign in to vote. User posted Dear All, I have this problem that i need your help with.. Thank you, Yasser. Wednesday, March 14, AM. Tuesday, March 20, AM. User posted thank you all.. Wednesday, June 27, AM. User posted Hi yasserhy, If you store your files in folders and you can't map the file extensions to ASP.

Encrypt reader, output, true , password, password, PdfWriter. SetCacheability HttpCacheability. NoCache ;. BinaryWrite bytes ;. End ;. Using sw As New StringWriter. RenderControl hw. Dim sr As New StringReader sw. A2, GetInstance pdfDoc, memoryStream. Parse sr. Using input As New MemoryStream bytes. Using output As New MemoryStream. Dim reader As New PdfReader input. Encrypt reader, output, True , password, password, PdfWriter.

BinaryWrite bytes. Related Articles. Add Comments. Thank you for the feedback. The comment is now awaiting moderation. You will be notified via email when the author replies to your comment. Please select a comment to reply. You can add your comment about this article using the form below. Make sure you provide a valid email address else you won't be notified when the author replies to your comment Please note that all comments are moderated and will be deleted if they are Not relavant to the article Spam Advertising campaigns or links to other sites Abusive content.

Please do not post code, scripts or snippets. Archived Forums. Getting Started with ASP. NET question on a topic that's not covered by one of the other more specific forums - ask it here. Sign in to vote. User posted I have some problem How to secure pdf file opened in new windows.

Noone can save,download,print this pdf. Thursday, September 17, AM. User posted You can make the pdf password protected so that if a user downloads the pdf the user can't open it. If it helps please mark as answer. Wednesday, September 23, AM.



0コメント

  • 1000 / 1000