Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
django-storages-s3upload
Advanced tools
Direct (client-side) HTTP POST file upload to S3 using Django forms/views.
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
Create signed forms for client-side uploading of files directly in to Amazon S3 buckets using HTTP POST: http://docs.aws.amazon.com/AmazonS3/latest/dev/HTTPPOSTForms.html
A view to handle/validate the returned parameters from the upload, and a hook to process the uploaded file.
An extended form/view which uses dropzone.js for handling multiple uploads with thumbnails and progress bars.
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
Install django-storages-s3upload by running:
.. code-block:: sh
pip install django-storages-s3upload
The project is licensed under the Apache license 2.0.
FAQs
Direct (client-side) HTTP POST file upload to S3 using Django forms/views.
We found that django-storages-s3upload demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.