Restrict access to certain directories