1. A method comprising: determining by an apparatus within a user device whether a peer is permitted to view a resource discovery data available at the user device based upon an access right data, wherein the resource discovery data specifies how to access a resource of the user device via a peer-to-peer connection, and the access right data defines per contact permission of one or more contacts to view the resource discovery data; and causing, at least in part, transmission of the resource discovery data to the peer via the peer-to-peer connection based on the access right data.