jeudi 24 août 2017

Laravel S3 filesystem setting server side encryption

Is it possible in Laravel 5.1 to set server side encryption in the S3 file storage?

Something like the following:

$s3 = Storage::disk('s3');
$s3->put($filename, file_get_contents($request->file('file')), 'private', 'AES-256'); 

I'm aware Laravel uses the flysystem library for this, but I can't seem to find any documentation regarding encryption.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire