Use encryption technology and use digital signatures.
1. Use encryption technology: Using encryption technology can ensure that files are not intercepted or tampered with by unauthorized third parties during transmission.
2. Use digital signatures: Digital signatures can ensure the integrity and authenticity of files. The sender can use a digital certificate to sign the file, and the recipient can use the certificate to verify the validity of the signature.