Peer-to-peer file sharing has become a common tool to exchange digital content in Internet. However, duo to a large number of unauthorized files are distributed over peer-to-peer network, users may download the digital files without copyrights thus violate intellectual property rights unconsciously. In this paper, we propose a trusty system named TDRM, which aims to protect every file being exchanged legally. TDRM is constructed on hybrid P2P structure, and adopts technologies including identity-based cryptosystem, digital rights management, secure authentication and payment mechanism. We also show our scheme is more secure, efficient, scalability, and low computational cost.