【问题标题】:Transfer Security into Amazon S3将安全性转移到 Amazon S3
【发布时间】:2016-11-02 08:42:17
【问题描述】:

我正在使用 Laravel 和 PHP League Flysystem 来处理通过 Amazon AWS S3Client 上传的文件。

但是,我找不到任何有关从我的服务器传输到 Amazon S3 的安全性的文档。从服务器到 S3 的传输是否始终加密?

如果您能指出官方文档,那也会有很大帮助。

谢谢。

【问题讨论】:

    标签: laravel amazon-s3 aws-sdk


    【解决方案1】:

    我终于在 PHP SDK 中找到了答案。它指出 PHP AWS 开发工具包默认使用 HTTPS。

    来自https://github.com/aws/aws-sdk-php/blob/master/docs/guide/configuration.rst#scheme

    scheme
    
    :Type: ``string``
    :Default: ``string(5) "https"``
    
    URI scheme to use when connecting connect. The SDK will utilize "https"
    endpoints (i.e., utilize SSL/TLS connections) by default. You can attempt to
    connect to a service over an unencrypted "http" endpoint by setting ``scheme``
    to "http".
    
    .. code-block:: php
    
    $s3 = new Aws\S3\S3Client([
        'version' => '2006-03-01',
        'region'  => 'us-west-2',
        'scheme'  => 'http'
    ]);
    
    See http://docs.aws.amazon.com/general/latest/gr/rande.html for a list of
    endpoints whether or not a service supports the ``http`` scheme.
    

    【讨论】:

      【解决方案2】:

      【讨论】:

      • 它指出“客户端加密是指在将数据发送到 Amazon S3 之前对其进行加密”。但我的问题是关于转移安全性。默认情况下是否通过 SSL 进行传输?
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-08
      • 2011-06-03
      • 2012-09-10
      • 1970-01-01
      • 2015-04-07
      相关资源
      最近更新 更多