Skip to main content
Participant
June 28, 2006
Answered

urgent security problem for demo on workstation

I have a flex app using an HTTPService to access XML files from my hard drive. When I run it, it works perfectly in the browser(s) I have.

If I try to double click the .swf and play it in the standalone player, I get this error:

[RPC Fault faultString="Error #2028: Local untrusted file file:///D|/Documents%20and%20Settings/tclare/Desktop/tester/requirementsA.xml may not access Internet URL file:///D|/Documents%20and%20Settings/tclare/Desktop/tester/TemporalRequirements.swf." faultCode="InvokeFailed" faultDetail="null"]

I assume this is in some way related to CorssDomain files, etc, but have not fully read up on them yet, and what I am reading isn;t helping me to solve the problem.

I need to send the files to a client and have him run the SWF on his desktop (with Flash Player 9 installed) and need to make this work asap.

Could someone help me figure out what to do?
Thanks!

    This topic is closed to new replies. Start a new post to keep the conversation going.
    senocularCorrect answer
    Participant
    June 29, 2006
    Local secuirty is now much more strict. To access local files, you can give access to the directories containing them using
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

    If you do not have a net connection, you can use a cfg file in (and I only know the windows directory offhand):
    C:\Documents and Settings\[user]\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust
    that simply lists out the directories (a cfg file being a text file with a .cfg extention saved with absolute paths separated by newlines) which can allow the same kind access as the settings manager above. Additional information can be found in the security white paper.

    1 reply

    senocularCorrect answer
    Participant
    June 29, 2006
    Local secuirty is now much more strict. To access local files, you can give access to the directories containing them using
    http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

    If you do not have a net connection, you can use a cfg file in (and I only know the windows directory offhand):
    C:\Documents and Settings\[user]\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust
    that simply lists out the directories (a cfg file being a text file with a .cfg extention saved with absolute paths separated by newlines) which can allow the same kind access as the settings manager above. Additional information can be found in the security white paper.
    Translate