I’m using the Django plugin, django-ckeditor, which unfortunately does not work with S3 unless the following is set: AWS_QUERYSTRING_AUTH = False
.
https://django-ckeditor.readthedocs.io/en/latest/#using-s3
The problem is that all files must be set to public to work with that setting. That plugin, in particular, has hundreds of directories with hundreds of files. So my question is two-fold.
Is there any security risk in making all of my css, js, images, and ckeditor files public?
Secondly, is my only option to manually go through each of these directories and change them to public? Is there a faster option?
Thanks
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
New accounts only. By submitting your email you agree to our Privacy Policy.
I figured out a way to do this by setting up the following.
backends.py (site/cdn/backends.py):
Then in site/cdn/conf.py
Then in settings.py