Hello,
Hopefully this is a quick one. I am using a static json file for my data source:
... and everything works great.
Now, ideally I'd like to load the json file from an Amazon S3 bucket, like so:
... but this is not working. From the reading I did on this forum, the issue probably relates to the XSS (cross-site scripting) safeguards. So here is my question: is my assessment of the issue correct and if yes what workarounds if any I can employ to get this setup to work?
Thanks in advance for your help!
Hopefully this is a quick one. I am using a static json file for my data source:
$(window).load(function() { $('#table-results').dataTable({ "sAjaxSource": "data.json", }); });
... and everything works great.
Now, ideally I'd like to load the json file from an Amazon S3 bucket, like so:
$(window).load(function() { $('#table-results').dataTable({ "sAjaxSource": "https://s3.amazonaws.com/mybucketname/data.json", }); });
... but this is not working. From the reading I did on this forum, the issue probably relates to the XSS (cross-site scripting) safeguards. So here is my question: is my assessment of the issue correct and if yes what workarounds if any I can employ to get this setup to work?
Thanks in advance for your help!