Additional checks to block common threats.
Mask local paths in demo mode.