Security Update: add a protection for the log file!