Security Patch

Security check for several actions added: Open project, rename project and all file actions.
Closes #613