Prevent Users From Downloading The Fla File?
Sep 13, 2007How do i prevent users from downloading the flash file and use them on their own site? there must be some way..
If not, can I atleast prevent them from connecting to my php files?
How do i prevent users from downloading the flash file and use them on their own site? there must be some way..
If not, can I atleast prevent them from connecting to my php files?
I'm working in an audio player. I'm looking for a way to prevent users download the mp3 files by following the file url ( for example: by using the Firebug o similar).
View 1 RepliesI'm working in an audio player. I'm looking for a way to prevent users download the mp3 files by following the file url ( for example: by using the Firebug o similar)
View 2 RepliesI've got a crossdomain.xml file which allows SWFs running on only a certain few domains to download resources from my domain. However, one simple way around this is for a user to download the SWF to their local machine, and run it there (i.e. by double-clicking on it within Windows Explorer, not by running through [url]... It seems that when this happens, the crossdomain.xml file is ignored.[code]...
Is it possible to do something on the server side to stop a locally running SWF to download from my site? I tried checking the referrer but this field often isn't populated.
I do noticed that any user who have the ip address of my FMS can do connect and stream to the server although there is no user for him and the server listens to the stream already and it appears in the active streams. How can I prevent that and only allow authorized users by my to connect to FMS and prevent all other from using it ?
View 7 Replieshow to download a pdf file using the file reference in flash. The code below works with an image such as .jpg, .png but does not work when trying to download a pdf.
Code:
import flash.net.FileReference;
import mx.utils.Delegate;
function downloadResume ():Void
[Code].....
I'm trying to set-up a file download in a swf. It's a autocad .dwg file. I'm using the get url command and it's working fine with pdf's and doc's but getting a "page cannot be found error" with the .dwg file.
View 5 RepliesI'm having trouble working on FileReference download(URL) function.I needed to automatically download the files in a particular space on my harddisk but the SAVE AS dialog always displays. can I make it automatically download in a certain place on my disk?
View 1 RepliesMy insuffiecient knowledge about AS2 craves some teaching: I want to know how to add an action to a button within my scene to make it download a file, which is located in the same folder as the .fla and exported .swf. In this case its going to be a .pdf, but I guess my main point is that I just want it to download the file. It should work in both Firefox and Internet Explorer (I don't know if the script has to be different or not?).
View 4 RepliesI want to download a file from the server(wamp apache) using actionscript and if i use the filereference for downloading it will ask the user to select the path for downloading.
View 4 RepliesI'm trying to download a file and convert it to ByteArray (it's a JPG file from a remote server if it matters).
View 1 RepliesI am trying to prevent users from viewing my site and then simply going into their "temporary internet files" and stealing my swfs and XML files. I have been using a great .PHP code to stop this but now I am working on a server server that only uses .aspx files. Does anybody know of a way that I can stop files from being stored in the "temporary internet files" folder. I have encrypted the files but this is not good enough.
View 0 RepliesI'm trying to have users download a pdf file when they click a movie clip button.I have this php code on my server
PHP Code:
<?php // download.php // retrieve the filename to download from the query string of the page $file = $_GET['filename']; // send the headers header("Content-type: application/octet-
customers should not be able to download and play them anywhere off my site
I have a flash app that needs to download a file, whose name contains UTF-8 characters.
Internally, the filename is read from a UTF-8 XML file, e.g. "my filé.pdf". The code goes something like this:
url = get_filename_from_XML();
req = new URLRequest( url );
ref = new FileReference();
ref.download( req );
The problem is that the URL is encoded in Latin1, i.e. the é is encoded as %E9 instead of %C3%A9 (according to FireBug). How can I get Flash to encode the URL correctly?
I'm trying to do the following : I want a pdf to be downloaded but not in the broswer just to have the usual download to a folder thing (ecxcuse my english) This what I use but it always open a new window. [URL]
View 1 RepliesI'm making a flash portfolio site and learning as I go but have come across a bit of a road block.
I'm trying to allow people to click a button on my site and download my pdf resume. I've gotten it to open in a separate tab using "navigatetourl", but I'd like to also have a button which forces the download location prompt to appear.
I created a website with Flash Professional CS5, ActionScript 3.0, I would like to add the functionality to a button so that it downloads a .pdf file into the user computer, so he can print it. What code should I give the button? and where and how should I place the .pdf file.
View 2 RepliesCode:
on (release) {
getURL("http://www.nlqc.com/download/Hymne_NikeLaos.mp3", "_blank");
}
I use this code to make an mp3 available on my site, I was wondering if there is any other way to do it? I'd like to avoid the "_blank" page opening.
I am downloading a video into a video object, it's will take too time to download in server, so i need buffer bar or loading bar for dynamic downloading video file, and also i need to download it's some fastly.
If any body have script or tutorial regarding these topics then please forward me.
I need to figure out the size of a remote file before I download it.And I know that in local place this can be done as follows
var _filePath:String = "X:/save/abc.exe";
var file:File = new File(_filePath);
if (file.size > 1000)
[code]....
But when I tried a remote file like
var _filePath:String = "http://www.aaa.com/webfile.exe";
It didn't work.And how can I get the size of a remote file before I use
var _downLoadPath:String = "http://www.aaa.com/webfile.exe";
I'm trying to post data up to a server and have it bounced back to me as a file download, prompting the native browser file download box. I know the server part works just fine becasue I can post from a demo web form, but when I run the following Flex 3 code, I can't even get the request to fire.
var fileRef:FileReference = new FileReference();
private function saveXmlAsFile(event:MouseEvent):void
{
[code]......
So to get around Flash security issues, I have a script to upload files to S3 by sending it to a PHP script on my server which then uploads it to S3 with server-side PHP libraries.
Now, I'm looking for a solution to downloading a file from S3 in the same way. I suppose the best way to do it is to somehow make a PHP script that downloads the file from S3, then sends it back to the Flash client?
But the one thing is, I don't want the file to hang around--I'd like to delete it when the process is done. I suppose I can just have the Flash client call another PHP script on the server that deletes the file after the load is finished.
So we want to seacrch for file like exampl*.ex*mple. We want to search in all users files and folders.
I know it will take long, but steel using ONLY AS3MXML, no native commands, no external programms - only AS3MXML libs and classes, we can skeep all folders with sise <= 200kb
So How to search for a file on users file system? (in Air application, NOT NATIVE)
I want to download a file from the server and save it in a particular location of the disk without user interaction. All this I want to do it in Flex.
View 1 RepliesI am sending out a standalone player that uses an xml driven image gallery. I need to prevent changes to the xml file to stop images being added to the gallery. I can can password protect the xml file to prevent changes, but I also wondered if there was a way to validate the authenticity of the xml file from within Flash to prevent the entire file being replaced?
View 3 RepliesWe have a Flex app that is currently loading an XML file that contains Multiple Choice Question data. I don't want a user to be able to access this file via http, but if I use HTTPService to load the file (what we're doing currently) it seems as though I have to place the XML file within the public_html folder on our server.
Is there a better way to load the XML file so that users wouldn't be able to see it in their activity viewer/access it via http://
Basically I have a website and I want to give the user the option of downloading wallpapers that they can use as their desktop image.
View 3 RepliesI installed said program but whenever I add users, it says they were added successfully and exist in CMD.However when I check the users.dat file it is empty. When I try Live Encoder it says the user does not exist.
View 10 RepliesI am developing a ASP.NET web site where users will need to be able to create their own business cards. So, I'm looking for a tool (most likely Flash) that I can easily integrate into a web site and lets users add text and custom images to their cards and then create an image and/or PDF from their work.
is there a plugin that does this?
Does anyone know a fix to prevent a flash file from shrinking in IE? I'm only having problems with IE, all other browsers are fine.[code]...
View 2 Replies