On Fri, Nov 01, 2013 at 12:52:42PM +0200, Jonne Nauha wrote:
| I think there is nothing wrong with opening HTTP via qt in scripts. We
| already allow it via AssetAPI, adding more advanced stuff like custom
| headers is not going to add any security risks. Or am I missing something?
| As long as we limit the data your POST stuff can send is limited to the
| Tundra scene and other data from the APIs (cant send files from the server
| to your own service or something similar, as QFile is blacklisted etc.)
Uncontrolled access to the Qt HTTP API is a lot more than sandboxes
typically allow. For example if you have built an "intranet"
which is not suppose to be accessible from the internet,
the script could go web crawling there and send all its findings to
the outside world.
Regardless of this, like I said in the earlier mail, we'd probably be
better off with an API that can be implemented in the Web client too.
Erno