简体   繁体   English

在https中上传文件。 试图了解这个概念是如何工作的

[英]File upload in https. Trying to understand the concept how it works

I would like to understand more about file upload. 我想了解更多有关文件上传的信息。 I would like to understand more in perspective of how it works in theory and not at code level. 我想从理论上而不是代码层面上更多地了解它。

For instance, the website is in https. 例如,该网站位于https中。
1: I upload a file using this https website. 1:我使用此https网站上传文件。
2: The successful upload file will be convert into bits and bytes and send to the server wrapped in ssl 2:成功上传的文件将转换为位和字节,并以ssl包装发送到服务器
3: Am I correct to understand that these bits and bytes will be encrypt and prevent man in middle attacks? 3:我是否正确理解这些位和字节将被加密并阻止中间人攻击?

Thanks... 谢谢...

1) When you upload the file, that file is going to split, (1 IP Datagram ~1500 bytes). 1)当您上传文件时,该文件将被拆分(1个IP数据报〜1500字节)。

2) each part is encapsulated in SSL (now the information is encrypted). 2)每个部分都封装在SSL中(现在信息已加密)。

3) Your PC sends all SSL datagrams one by one 3)您的PC一次发送所有SSL数据报

4) The server receives all SSL datagrams and then it extracts the information (decrypt). 4)服务器接收所有SSL数据报,然后提取信息(解密)。

5) The server joins all parts in one file 5)服务器将所有部分合并到一个文件中

6) The server has the original file 6)服务器有原始文件

I hope that this can help you 希望对您有所帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM