restricted permissions of methods and variables