Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Web-based encrypted file storage using Flask and AWS

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 static
Octocat-spinner-32 templates
Octocat-spinner-32 README.md
Octocat-spinner-32 app.py
README.md

Web-based encrypted file storage using Flask and AWS

This repository was created from Charles Leifer's excellent article on how to use flask, boto and pycrypto to have your files encrypted and uploaded to Amazon's S3.

You will need to provide the following in app.py in order to be able to use S3.

AWSID = '<your AWS key id>'
AWSKEY = '<your AWS key secret>'
AWSBUCKET = '<your bucket name>'

For first time run you can create the database by starting a python shell at the directory where app.py is and issuing the commands:

>>> from app import create_tables
>>> create_tables()

I have made a few additions to the article.

  • Files can be deleted.
  • Files with the same name are updated.
  • Folder creation and deletion.
  • Search for files or folders.
  • All files/folders are private.

Added also the bootstrap css and javascript.

Have fun!

Andreas

Something went wrong with that request. Please try again.