Restricting access to a single resource is a limited way to use Sesame Pay for Access. To restrict access to a set of resources and allow a user to buy access to those resources only once, the best solution is to create a license for them.
Buying a license requires a user to be identified (or logged in).