The number 1 reason to not allow access to the client machine’s file system is security (as mentioned before).  This would enable the possibility of someone creating a flex/flash application that monitors the file structure of your local machine, potentially identifying any weaknesses or important files.  It could also potentially allow the execution of code on the client machine.

 

This might still be possible using a java applet, which references the local file system and returns the file path back to your flex application via _javascript_.  BUT, it will require changes to the security permissions on the client machine.  Honestly, this approach is a hack.  This is not really a feasible alternative for a public site.  

 

Unfortunately, there is no clean & easy solution.

 

-Andy

_____________________________________

Andrew Trice

Cynergy Systems, Inc.

http://www.cynergysystems.com

 

Email: [EMAIL PROTECTED]

Office: 866-CYNERGY 

 


From: [email protected] [mailto:[email protected]] On Behalf Of rama satoskar
Sent: Thursday, June 08, 2006 8:00 AM
To: [email protected]
Subject: [flexcoders] use of FileReference Class

 

Hi all,
This is my second post regarding FileReference class. I am new to flex
so excuse if this is a simple question for all the coders here.
I want to be able to locate the complete path of the image or the file
select using the browse() method of the FileReference class
object..Someone earlier told me that it is not possible to do so due
to security reasons!
I donot understand why?

Please help,

Rama.

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to