Network security in the multicast framework