Prevent directory access

Ref #1218