Encrypt and Decrypt a PDF,word,Excel Files in asp.net C#

Posted by Gopal_nivas under ASP.NET on 9/30/2011 | Points: 10 | Views : 9951 | Status : [Member] | Replies : 2
hi..
i want to encrypt pdf,word,excel files.
when i was upload a file means its stored in application folder.
so during storing the file will be converted in to an encrypted format.

then if if a user logs in then we will show the encrypted file in a decrypted format.

so i need both encryption and decrytion a file.

how to do this..
need ur suggestions with examples
regards
gopal.s




Responses

Posted by: Naimishforu on: 10/1/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Try using the iTextSharp.Dll

This DLL which solve all your problems but I think it's restricted to PDF only!!

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ndebata on: 10/2/2011 [Member] Starter | Points: 25

Up
0
Down
Take a look at this article
http://www.codeproject.com/KB/files/encryption.aspx

Gopal_nivas, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response