Disclosed are peer-to-peer computer program products, methods, and systems
in which a remote peer on a peer-to-peer network is granted or denied
access to a resource based on the credentials presented by the remote
peer. In accordance with the disclosed subject matter, an access token
that includes one or more security identification values which represent
respectively one or more access rights in an access control system is
generated. An execution thread that is associated with the access token
thus generated attempts to access the resource on behalf of the remote
peer. In some embodiments, the access control system includes a generic
user account, and the access token that is generated for the remote peer
includes the security identification value associated with the generic
user account in the access control system.