security checks to prevent unwanted changes

refs. to https://github.com/Codiad/Codiad/issues/247