Prevent external users of accessing the debug page

Missing best practice.
Users should not be able to access dev tools.