[SECURITY] Add possibility to en-/disable file permission checks