Restricting access on LAN

I really like cayenne, It’s amazing!

Is there any way I can restrict access to the devices in cayenne only to the local network?

I should be able to toggle the lights or read the temperature from the sensors only when I’m accessing cayenne app/webpage from the same network as my Raspberry Pi.

Is this possible? I also want to do this and am a little bit concerned about security?