Merge "Enforce file transfer restrictions for shell."