| With the continuous development of software and hardware, the scope of using computer network gets larger and larger, thus there are abundant spare resources such as memory resources, computing resources, data resources and so on. The P2P technology provides a good solution to make use of these spare resources reasonably and efficiently. At present, the Peer-to-Peer technology has achieved great success. Thousands of users are using P2P applications to share information and resources. However, due to the decentralization, autonomy, dynamic, self-organization, heterogeneity of P2P networks, it is difficult to make P2P system secured. To make more use of P2P technology, experts in the field of computer security are trying their best to design security models for P2P networks. However, there is no one mature access control which can be widely used in various applications of P2P.This paper focuses on a P2P network access control mechanism, proposed a security access control program. The program has the following characteristics:(1) Access control. Nodes join the P2P network implements process control, to prevent a malicious node into the P2P network. (2) Resource access control. Node is evaluated trust value according the behavior of the node, while the trust value based on the determination of resource access. (3) Periodically update the system. Every a fixed time, trusted nodes set to publish updates of regular nodes on the bulletin board, and abolish the malicious node. (4) Session key distribution. System nodes have a security and quickly session key distribution. Session keys between nodes have been allocated. |