Limiting app to necessary permissions.