Restricting the usage of resources