Menu

#2 S3: Keep ACL for password file

closed
nobody
None
5
2012-10-07
2010-10-19
kaspar
No

This patch will read the ACL (access control list) from S3 in case the password file already exists and will apply the same ACL to the newly uploaded file. I refactored the backup routine a little in the process by extracting a new method "fileExists" which tests for the existance of a file in S3 to avoid redundancies in PutFile.

This will allow to set access rights for the password file using an S3 explorer that will actually stick.

Example use: Using MyKeePass on the iPhone and downloading the current password file from an AWS HTTP location (http://s3.amazonaws.com/YOUR-BUCKET-NAME/YOUR-FILE-NAME).

It would be great if this patch could be added to the next official release.

Discussion

  • kaspar

    kaspar - 2011-02-01

    Patch to retrieve ACL before uploading file to S3 (based on Sources for 5.0 this time).

     
  • kaspar

    kaspar - 2011-02-01

    Updated the patch file - the previous one was based on revision 40 of the source file in SVN (no clue, which release version that correlates to). The new patch file related to the zip file containing the version 5.0 sources.

     
  • Mitch Capper

    Mitch Capper - 2012-01-17

    thanks added to new version.

     

Anonymous
Anonymous

Add attachments
Cancel