flash actionscript:
I have a site where users can upload there images to a folder. Once uploaded these images are then dynamically inserted into the pages of my swf. However if someone is to upload some type of virus, would they then be infecting peoples computers when the users try to view these images(viruses). This leads to another general question on the lines of viruses. If I am 'viewing' a web page, and this page contains a virus, have I downloaded it?
hi. i have to apologise but this is not to answer your query but to ask you...how do you allow users to upload their own photos to a folder on your webspace? I'm currently building a site for a band and they would prefer if their users could share photos with them... i do not want to include them in the .swf files i only want to allow users to upload... can you point me in the right direction?? p.s - i do see your point about uploading viruses...but if you have a firewall on your domain/webspace...would that not protect you from vrisues??? bB_
There are prob a number of ways to do it... but I have.. 1. Used flash 8 and php so that the user can upload files to a folder created on the server. Then I store the name of the file the user uploaded into a mysql database. 2. I then create a php page that sends the name of the uploaded file from the database to flash, where it is loaded into a movieClip. and bingo. I would suggest doing a search on google for tutorials to do with this. In response to your response to my question!!! if you allow users to upload files, then surely they can upload what they like, whatever kind of firewall you have installed, as you have allowed access. I know I can make it so that the user can only upload jpeg file types, however I am not a master of virus creating. I am more concerned with if someone does upload a virus, by then trying to insert this virus onto a movieClip, so that the users can see the supposed image, am I going to infect there computer, or can a virus only be downloaded if you save it to your harddrive.
im pretty new to flash..but im thinking...don't flash movies have certain levels of security..ie. when you right click a .swf move clip and select settings..you can change the level of access the movie has to your computer??? maybe there is a way to configure this in action script in order to make the movie 'safer' overall...or maybe not..i may be just talking rubbish.... anyhoo thanks for ur help. hope u fix ur prob!
Don't see what you're looking for? Try a search.
|