如何在数据库中上载,加密和保存文件? [英] HOW TO UPLOAD , ENCRYPT AND SAVE A FILE IN A DATABASE ?
本文介绍了如何在数据库中上载,加密和保存文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何人都可以告诉我如何上传文件并对其进行加密,然后将文件名,文件类型进行加密,然后将数据加密到数据库中,然后单击下载链接以进行检索.它将得到decyprt和文件下载.
在此先感谢,
Shuersh Vijay.
Can anyone please tell me how to upload a file and encrypt it and save the filename,filetype,encrypt data in database and retrieve it when click the download link . it will get decyprt and file get download.
Thanks in Advance,
Shuersh Vijay.
推荐答案
加密和加密;解密:
在C#中使用哈希验证进行文件加密/解密 [ ^ ]
http://support.microsoft.com/kb/307010 [从SQL Server数据库上载文件和从中下载文件 [ ^ ]
Encryption & Decryption:
File Encryption/Decryption with Hash Verification in C#[^]
http://support.microsoft.com/kb/307010[^]
Upload & Download file:
Uploading and downloading files to/from a SQL Server database[^]
这篇关于如何在数据库中上载,加密和保存文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文