Adds resource whitelisting