实例介绍
这是我参加中国软件杯比赛时写的基于驱动的文件透明加解密软件。程序有三部分,驱动内核代码,服务器短,客户端。驱动在系统内核级别对磁盘文件进行加密和解密,客户端实现了驱动的管理和通信,服务器端实现了加解密策略的定制,访问授权等。现在共享给需要研究驱动的同学。
【实例截图】
【核心代码】
分布式文件透明加解密
├── 程序2013.08.21
│ ├── 客户端
│ │ ├── FileEncryptClient.exe
│ │ └── data
│ │ ├── department.dat
│ │ ├── password.dat
│ │ ├── server_ip.dat
│ │ ├── user_name.dat
│ │ └── user_password.dat
│ ├── 服务器端
│ │ ├── FileEncryptServer.exe
│ │ ├── data
│ │ │ ├── accredit_psw.dat
│ │ │ ├── decrypt_psw.dat
│ │ │ ├── password.dat
│ │ │ ├── 技术部
│ │ │ │ ├── key.dat
│ │ │ │ ├── strategy.dat
│ │ │ │ └── user
│ │ │ │ ├── 张三
│ │ │ │ └── 沈庭辉
│ │ │ ├── 营销部
│ │ │ │ ├── key.dat
│ │ │ │ ├── strategy.dat
│ │ │ │ └── user
│ │ │ │ └── 刘正平
│ │ │ └── 行政部
│ │ │ ├── key.dat
│ │ │ └── strategy.dat
│ │ └── log
│ │ └── 2013_8_19.log
│ └── 驱动程序
│ ├── FileEncrypt.inf
│ ├── FileEncrypt.sys
│ ├── 关闭文件透明加解密驱动.bat
│ └── 启动文件透明加解密驱动.bat
├── 源程序
│ ├── Driver3
│ │ ├── Driver3
│ │ │ ├── BUILD
│ │ │ ├── BuildLog.htm
│ │ │ ├── Driver3.W7.vcproj
│ │ │ ├── Driver3.W7.vcproj.PC201306041540.Administrator.user
│ │ │ ├── Driver3.vsprops
│ │ │ ├── FileEncrypt.cpp
│ │ │ ├── FileEncrypt.h
│ │ │ ├── PREfast_defects_chk_win7_x86.xml
│ │ │ ├── PREfast_defects_chk_win7_x86Sum.txt
│ │ │ ├── UserInterface.cpp
│ │ │ ├── UserInterface.h
│ │ │ ├── buildchk_win7_x86.log
│ │ │ ├── buildfre_win7_x86.err
│ │ │ ├── buildfre_win7_x86.log
│ │ │ ├── buildfre_win7_x86.wrn
│ │ │ ├── buildinc.cmd
│ │ │ ├── buildnumber.h
│ │ │ ├── ddkbldenv.cmd
│ │ │ ├── ddkpostbld.cmd
│ │ │ ├── ddkprebld.cmd
│ │ │ ├── drvcommon.h
│ │ │ ├── drvversion.aps
│ │ │ ├── drvversion.h
│ │ │ ├── drvversion.rc
│ │ │ ├── makefile
│ │ │ ├── objchk_win7_x86
│ │ │ │ └── i386
│ │ │ │ ├── FileEncrypt.pdb
│ │ │ │ ├── FileEncrypt.sys
│ │ │ │ ├── _objects.mac
│ │ │ │ ├── drvversion.res
│ │ │ │ ├── fileencrypt.obj
│ │ │ │ ├── tools.obj
│ │ │ │ ├── userinterface.obj
│ │ │ │ └── vc90.pdb
│ │ │ ├── objfre_win7_x86
│ │ │ │ └── i386
│ │ │ │ ├── _objects.mac
│ │ │ │ ├── drvversion.res
│ │ │ │ ├── tools.obj
│ │ │ │ ├── userinterface.obj
│ │ │ │ └── vc90.pdb
│ │ │ ├── sources
│ │ │ ├── tools.cpp
│ │ │ └── tools.h
│ │ ├── Driver3.ncb
│ │ ├── FileEncrypt.ncb
│ │ ├── FileEncrypt.sln
│ │ └── FileEncrypt.suo
│ ├── Driver3说明.txt
│ ├── FileEncryptClient
│ │ ├── Debug
│ │ │ ├── FileEncryptClient.exe
│ │ │ ├── FileEncryptClient.ilk
│ │ │ └── FileEncryptClient.pdb
│ │ ├── FileEncryptClient
│ │ │ ├── ApplyAccredit.resx
│ │ │ ├── AssemblyInfo.cpp
│ │ │ ├── DataStruct.h
│ │ │ ├── Debug
│ │ │ │ ├── AssemblyInfo.obj
│ │ │ │ ├── BuildLog.htm
│ │ │ │ ├── FileEncryptClient.Form1.resources
│ │ │ │ ├── FileEncryptClient.exe.intermediate.manifest
│ │ │ │ ├── FileEncryptClient.obj
│ │ │ │ ├── FileEncryptClient.pch
│ │ │ │ ├── FiltPortModule.obj
│ │ │ │ ├── app.res
│ │ │ │ ├── mt.dep
│ │ │ │ ├── tools.obj
│ │ │ │ ├── vc90.idb
│ │ │ │ └── vc90.pdb
│ │ │ ├── FileEncryptClient.cpp
│ │ │ ├── FileEncryptClient.h
│ │ │ ├── FileEncryptClient.vcproj
│ │ │ ├── FileEncryptClient.vcproj.PC201306041540.Administrator.user
│ │ │ ├── FiltPortModule.cpp
│ │ │ ├── FilterPortModule.h
│ │ │ ├── Form1.h
│ │ │ ├── Form1.resX
│ │ │ ├── ReadMe.txt
│ │ │ ├── Release
│ │ │ │ ├── AssemblyInfo.obj
│ │ │ │ ├── BuildLog.htm
│ │ │ │ ├── FileEncryptClient.Form1.resources
│ │ │ │ ├── FileEncryptClient.exe.intermediate.manifest
│ │ │ │ ├── FileEncryptClient.obj
│ │ │ │ ├── FileEncryptClient.pch
│ │ │ │ ├── FiltPortModule.obj
│ │ │ │ ├── app.res
│ │ │ │ ├── mt.dep
│ │ │ │ ├── stdafx.obj
│ │ │ │ ├── tools.obj
│ │ │ │ ├── vc90.idb
│ │ │ │ └── vc90.pdb
│ │ │ ├── app.ico
│ │ │ ├── app.rc
│ │ │ ├── inc
│ │ │ │ └── fltUser.h
│ │ │ ├── lib
│ │ │ │ ├── fltlib.lib
│ │ │ │ └── fltmgr.lib
│ │ │ ├── resource.h
│ │ │ ├── stdafx.cpp
│ │ │ ├── stdafx.h
│ │ │ ├── tools.cpp
│ │ │ └── tools.h
│ │ ├── FileEncryptClient.ncb
│ │ ├── FileEncryptClient.sln
│ │ ├── FileEncryptClient.suo
│ │ └── Release
│ │ ├── FileEncryptClient.exe
│ │ └── FileEncryptClient.pdb
│ ├── FileEncryptClient说明.txt
│ ├── FileEncryptServer
│ │ ├── FileEncryptServer
│ │ │ ├── AssemblyInfo.cpp
│ │ │ ├── DataStruct.h
│ │ │ ├── Debug
│ │ │ │ ├── AssemblyInfo.obj
│ │ │ │ ├── BuildLog.htm
│ │ │ │ ├── FileEncryptServer.pch
│ │ │ │ ├── stdafx.obj
│ │ │ │ ├── vc90.idb
│ │ │ │ └── vc90.pdb
│ │ │ ├── FileEncryptServer.cpp
│ │ │ ├── FileEncryptServer.vcproj
│ │ │ ├── FileEncryptServer.vcproj.PC201306041540.Administrator.user
│ │ │ ├── Form1.h
│ │ │ ├── Form1.resX
│ │ │ ├── ReadMe.txt
│ │ │ ├── Release
│ │ │ │ ├── AssemblyInfo.obj
│ │ │ │ ├── BuildLog.htm
│ │ │ │ ├── FileEncryptServer.Form1.resources
│ │ │ │ ├── FileEncryptServer.exe.intermediate.manifest
│ │ │ │ ├── FileEncryptServer.obj
│ │ │ │ ├── FileEncryptServer.pch
│ │ │ │ ├── app.res
│ │ │ │ ├── mt.dep
│ │ │ │ ├── stdafx.obj
│ │ │ │ ├── vc90.idb
│ │ │ │ └── vc90.pdb
│ │ │ ├── app.ico
│ │ │ ├── app.rc
│ │ │ ├── resource.h
│ │ │ ├── stdafx.cpp
│ │ │ └── stdafx.h
│ │ ├── FileEncryptServer.ncb
│ │ ├── FileEncryptServer.sln
│ │ ├── FileEncryptServer.suo
│ │ └── Release
│ │ ├── FileEncryptServer.exe
│ │ └── FileEncryptServer.pdb
│ ├── FileEncryptServer说明.txt
│ └── 源程序说明.txt
├── 文件透明加解密 用户手册.doc
└── 文件透明加解密设计方案.doc
32 directories, 165 files
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论