Regulation of access to resources