Hi,
I am developing an AIR+AJAX app and I am using sockets to connect to the ftp server and just checking whether the app is able to connect to the ftp server successfully, check the user name and password and return with a message.
It connects and displays the following error after 15 seconds or so:
Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: app:/index.html cannot load data from www.mydomain.in:21.
at flash.html::HTMLLoader/nativeOnMouseUp()
at flash.html::HTMLLoader/invokeMouseUpImpl()
at flash.html::HTMLLoader/onLeftMouseUp()
How can I take care of this? The app needs to connect to the ftp server often. This error is shown when I am in preview mode.
This is absolutely essential for me to take care of this because the app will check any number of domains and connect using sockets. Is there anyway to suppress these errors. I have heard of air.Security but how exactly should I use in this regard.
Please help.
Gaurav