Restrict access to sensors

Fixes #723