文档介绍:华中科技大学
硕士学位论文
一种分布环境下加密文件系统的设计与实现
姓名:方允福
申请学位级别:硕士
专业:计算机系统结构
指导教师:曹强
2011-01
华中科技大学硕士学位论文
摘要
大多数存储系统都有严重的安全缺陷,因为数据主要是通过操作系统的访问控
制机制来进行保护,用户只要绕过操作系统,物理上接触存储设备,就能随意访问
这些数据。鉴于数据已成为企业生存的命脉和宝贵的资源,存储安全性问题越来越
突出。
针对传统的基于三方架构的分布式文件系统 DNFS(work File
System)设计了一个安全文件系统 KCFS(Kernel-Level Cryptographic File System),该
系统可以运行在所有基于 POSIX 标准的文件系统之上,为用户提供数据机密性、完
整性、文件共享等需求,同时保证了良好的性能和易用性。KCFS 加密文件系统以一
个独立的文件系统模块形式实现数据的随机加密,运行于分布式文件系统的客户端,
可以保证网络传输和存储设备上的数据都以密文的形式存在;KCFS 把文件数据和元
数据存放在同一个文件中,从而完美地支持增量备份、大规模存储系统间的文件迁
移和文件共享;KCFS 具有很高的安全性,可以支持多种不同的加密算法和密钥长度,
每个文件可以采用不同的密钥,即不同文件具有不同的加密强度;同时,该软件具
有很好的易用性,它能够透明地处理文件加密和解密,合法用户和应用程序一经授
权,用户就可以通过标准的文件访问接口透明地访问加密文件,无需额外的人工干
预。
最后对 KCFS 文件系统从功能和性能上进行了测试和分析。在功能上,主要关
注该系统的稳定性、文件共享机制、易用性、可移植等;在性能上,主要关注添加
了 KCFS 的加密功能后,对系统的性能带来的影响,以及选用不同的加密算法和密
钥长度对系统性能的影响。实验结果表明,KCFS 在保证存储系统安全的同时,还具
有较高的性能,在实际应用和科研环境中,具有广阔的应用前景和使用价值。
关键词:加密文件系统,分布式文件系统,密钥管理,文件共享
I
华中科技大学硕士学位论文
Abstract
Most storage systems have serious security flaws, because these data were mainly
protected through the operating system access control mechanisms. If you bypass the
operating system and access the storage devices physically, you can freely access the data.
In view of the data has e the most valuable resources.
Having designed a Kernel-Level Cryptographic File System (KCFS) based on the
traditional distributed file system (DNFS). The system can run on all POSIX-based file
system. While ensuring a good performance and ease of use, it provices users with data
confidentiality, integrity, file sharing and other needs. It realise random data encryption in
the form of a separate file system module and run on the client in the distributed file
system. This ensures that data work transmission and on storage device are existed in
the form of ciphertext. In KCFS, data and metadata are stored in the same file. Thus it
perfectly provides support for incremental backups, file migration and file sharing
between large-sc