Added basic security stubs for folders/layers.
Fixes #1