Created module to protect a node

Needed set some variables correctly