Remove direct access to /misc/edit_file

It's a security hazard that can be avoided. Limit
access to several hardcoded paths.