all groups > flash data integration > october 2006 >
You're in the

flash data integration

group:

securely sending connection string to swf?


securely sending connection string to swf? doof moof
10/15/2006 8:30:09 AM
flash data integration:
ok so when i need to connect a swf to some sort of data source on the server be
it XML, a .NET DLL, a CFC or what ever so that i can load data from a database
or what ever, everyone is always saying that i shouldn't hard code the
connection string into my actionscript as anyone can get it and do malicious
things with it.

So how should i load the connection string into flash. if i put them on the
server in an XML file or somthing like that then i still need to put a
connection string into the actionscript in order to load in my main connection
strings into the actionscript.

Basically i need to know how to load an external string into a swf without
anyone else being able to get hold of that string for them selves.

i realy need help with this because i am developing an app for somone and i
need it to connect to a database and i need it to be secure. i have everything
sorted except making the connection string to the database unstealable.
Re: securely sending connection string to swf? cside
10/22/2006 4:45:16 PM
Why aren't you just using regular form submissions to send data and regular
string data or xml to load data?

I don't think you can hide anything from the user. I think you have to handle
security serverside and the client only gets to see his own user/pass and
whatever data you send to him.
AddThis Social Bookmark Button