4 Replies Latest reply on Jul 1, 2007 5:47 AM by sdive

    Load data from CD-ROM


      I was wondering. If a user visits a site, can you make a Flash file that shows data from the user's CD-ROM drive and interact with the data as if it were local? Of course, the user has to grant access to this permission first, but is it possible?

        • 1. Re: Load data from CD-ROM
          MotionMaker Level 1
          Allowing Flash Movies in a browser from the internet read a local drive is an unwelcome potential for internet users. As such Flash has sandbox restrictions that would prevent that. Unfortunately Flash does not have permission granting in it.

          You need to read the information in Flash help on the commands you are using to load data and they will point you to the sandbox issues and links to read more.

          If your project has a 3rd or 4th Q 2007 delivery, you might investigate AIR (Adobe Integrated Runtime formally Apollo). The user grants permission to the application as installed and the app then can communicate all over the place. A bit higher development risk since this is new technology, but you can download the beta and investigate.

          • 2. Re: Load data from CD-ROM
            sdive Level 1
            What made me hesitate was Flash's ability to connect to the user's microphone and camera. How can that be possible then?
            • 3. Re: Load data from CD-ROM
              MotionMaker Level 1
              You are right, Flash does have a permission for the camera and microphone and the Flash cookie storage. Once permission is given by the user to any combination of these items, there is still boundaries as to what the Flash app can do with the camera, microphone and cookie storage.

              It does not have a permission to allow access to the local file system when the Movie is on another domain. It can access the file system when the Flash movie loads from the local system but that may be restricted if the Flash movie also has functionality to send to remote system.

              Review this and see what alternative you have using the Flash player as is:
              Fash 8 Security
              • 4. Re: Load data from CD-ROM
                sdive Level 1
                Alright. It makes sense. Thank you!

                I'll be reading the link.