Accessing files on Amazon S3 using HTML5 / JavaScript

Is it possible to access files on Amazon S3 using JavaScript / HTML5. I am mainly planning on accessing these files in a PhoneGap application.

To be more specific, I mean without any server in the middle, i.e. to call Amazon S3 directly. Is it possible?

+3


source to share


3 answers


Answering my own question - I came up with a JavaScript S3 request subscriber with which I was able to sign a URL and access files on S3 from JavaScript.

Anyone need any details please leave a comment and would be happy to help.



Greetings

0


source


Yes. You can enable CORS for your bucket so that objects can be loaded via XMLHttpRequest

.



When using PhoneGap / Cordova, you can bypass enabling CORS on the server by removing the domain from your application:

+4


source


You guys should try digging into alacia and see what you can find or what about cicada 3301. Lots of fun out there for those who want to dive deep into the net. Not because if you are not a networking expert, you are vulnerable to everyone. And the tor network has drawbacks: don't use your input and output nodes that are open to all hackers. This is where hackers live. Fair warning is not coming.

https://darknetmarketslink.com/

0


source







All Articles