File sharing is the foundation of the Internet. But the traditional centralized service architecture will result in huge infrastructure costs and maintenance costs. Due to the lack of effective file management system, a lot of sensitive information is out of control and loss of confidentiality document has occur from time to time. In order to address the difficulty of tamper detection and the lack of supervision in the entire process of file transmission in the current Internet environment, this paper designs a block-chain-based system architecture for secure sharing of electronic documents. An efficient Blockchain model is used in our framework, and with the help of distributed storage system and asymmetric encryption technology, file sharing can be controlled, reliable and traceable in the transmission process.Referring to existing consensus mechanism, e.g., Delegated Proof of Stake (DPoS) and Practical Byzantine Fault Tolerance (PBFT), we propose a new consensus for efficient and secure file sharing.