This paper discusses the need for robust security properties such as confidentiality, integrity, and availability in open peer-to-peer networks, addressing the limitations of existing literature that primarily focuses on availability and anonymity. It proposes a novel architecture that allows for the specification and enforcement of flexible security policies using SELinux, enabling the evaluation of peers' trust and reputation while managing resources' security needs. The study highlights the challenges posed by malicious peers and suggests potential solutions, including the creation of domains to group resources with similar security requirements.