Yes, the security in peer-to-peer network is comparatively less or we can say it does not offer any security other than assigning permissions. Moreover, even if the permission is assigned, anybody with the access can be able to get into the network which is not at all safe.