views:

40

answers:

1

Hello everybody,

I need to disable all the aspects of functionality which access the client file system in a flash/flex application. I started having a look on how to do this. It appears that the package flash.filesystem need to be importated to allow the interaction with the file system.

However, I did not find any reference to this package in the application.

I am a beginner concerning these technologies so maybe I am missing a point here. Do I need to look into an other direction?

Thanks

+2  A: 

Basic flash/as3 resource: http://www.adobe.com/devnet/actionscript/as3.html

The flash.filesystem library is for AIR applications only because flash is not supposed to be able to reach outside the browser to affect a client's computer. That would be a security violation. Even AIR apps are highly restricted in this way.

Update:

Related Question:

http://stackoverflow.com/questions/1417740/flash-actionscript-access-filesystem-without-air

This is brand-new in Flash 10.

Update 2:

And an older reference in Flash 9 here. Though it mentions that it's still subject to the user turning off permissions via their settings manager.

eruciform
OK so if it is not an air application there is no way that this app access the file system?
Duke
@duke: looking a little further, there's some limited access in flash 10. see updated post. but otherwise, yes.
eruciform
Actually, you can save data from Flash Player 9 using the SharedObject class:http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/net/SharedObject.html
WesleyE
@wesley: good catch, i'll add that.
eruciform
Thank you very much I will look into it.
Duke