Implements security check method
Corrects whitespace
New security check for more comfort and security
Renames method, because parent has one with the same name, and fixes wrong name
Implements security check method globally
Corrects file mode
Merge pull request #616 from Andr3as/master

Security Patch