restrict write permissions on sensors and motors