Fine-Grained Access Control For Sensors, Actuators, And Automation Networks