I am transmitting a file using FTP in my program. I want to protect my file during its transmission over the network. I am already implementing cryptography (digital signature+encryption). But it only notifies us if the file is changed during its transmission. If someone just opens my file and closed it without changing it then also it should notify that the file has been tampered. Can anybody give me any idea to do this?