mattaustin / django-storages-s3upload

Direct (client-side) HTTP POST file upload to S3 using Django forms/views.
http://django-storages-s3upload.readthedocs.org/
Apache License 2.0
8 stars 4 forks source link

======================== django-storages-s3upload

Direct (client-side) HTTP POST file upload to S3 using Django forms/views.

This project is under development, and so should be used in production environments with a high degree of caution.

Docs: http://django-storages-s3upload.readthedocs.org/

Please be VERY careful with security considerations, and check you know exactly what is happening. S3 HTTP POST upload will overwrite existing files if the key matches. You will want to limit uploads to trusted users, and use unique key prefixes. You will want to make sure that any processing of uploaded files is safe.

See also: https://docs.djangoproject.com/en/dev/topics/security/#user-uploaded-content

Features

Requirements

You'll need to set-up & configure an Amazon S3 Boto storage backend using django-storages: http://django-storages.readthedocs.org/en/latest/backends/amazon-S3.html

Installation

Install django-storages-s3upload by running:

.. code-block:: sh

pip install django-storages-s3upload

Contribute

License

The project is licensed under the Apache license 2.0.