Issue #2361975 by helmo, hargobind, SpenserJ. Add options to whitelist named files and a textfile of known good filename:sha1 hash values.
Merge remote-tracking branch 'upstream/7.x-1.x' into 7.x-1.x