changes to permit interface to improve security