Flash - .htaccess: Disable Hotlinking (via Redirect)?
Feb 20, 2011
I am hosting a site that has some flash in it.Now a different site is linking directly to the flash, causing massive traffic for me. The problem: I do not gain any ads which would help me pay the server bills.I thought it would be OK to redirect the direct link to the flash to the site containing it.
Flash: www.example.com/flash/1.swf
Page: www.example.com/1 (<-- redirect here!)
It probably should work with .htacess
View 1 Replies
Similar Posts:
Apr 7, 2011
I need to add htaccess to my site, to stop hotlinking i.e
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^http(s)?://(www.)?davewhiteart.comindex.html [NC]
RewriteRule .(jpg|jpeg|png|gif)$ - [NC,F,L]
This seems to work on some browsers but on others.....the flash cannot access the files/images
View 1 Replies
Jul 1, 2010
I am loading an flv file from an s3 location. I want to prevent its hotlinking.
crossdomain.xml does not seem to work for flvs Anybody has nay idea, why crossdmain does not work? and what are the ways we can prevent other flash containers to extract the content from our location?
View 1 Replies
Aug 15, 2011
I'm publishing a webcomic in Flash.swf format and I'd like to make it as easy as possible for people to grab my comic and put it on their website. How can I set up one-button hot-linking that will automagically provide the code so that they can easily drop it into their website, similar to the way YouTube does with video?
View 8 Replies
Dec 2, 2009
I have a site that has the main path under password protection. I also have a subfolder that have a separate (htaccess/htpasswd) password protection. For some reason, when I access the subfolder, I'm asked to put in my id/password twice. All of the files that are referenced are under the subfolder.
What should I be doing to troubleshoot this? I've tried this on different browsers and it's the same behavior. There is one main html page with a .swf (the only thing on the page)...it loads other assets but they are within the same subfolder.
View 1 Replies
Feb 11, 2011
Client has a flash navigation menu on his website. When the site is accessed via [URL] the hardcoded links in the flash nav load pages properly. When accessing the website via the [url] the site navigation links can not load the proper pages and instead just redirect the user to the root domain.
I assume this can be fixed with a change to the .htaccess but I do not know how flash handles these links.
.htaccess:
Options +FollowSymLinks
RewriteEngine on
[Code].....
View 1 Replies
Mar 13, 2012
I can't get a RewriteRule to work. I have a PHP page with a flash object embedded in it. What I would like to is to write a rule in order to achieve this:URL...and all the parameters to the flash object (in the query string, if available) should also be "copied" by the RewriteRule:[code]
View 1 Replies
Apr 29, 2004
Can an swf check to see what the url of the page in which it is embedded is? I don't care if other people host copies of the swf, but I dont want them to embed my copy in their pages, so I want to show some kind of default image if the html address is not my site
View 2 Replies
Aug 6, 2009
I'm trying to load an url with htaccess authorization w/o successthis is my code
Code:
public class test extends Sprite
{
[code]......
View 2 Replies
Jun 17, 2005
I've made a game in flash that I want to upload onto my site but I don't want it to be able to get hotlinked to or hosted from/on another site.
What would be a good way to prevent this?
I first thought of getting a varible from a text file and using an IF function on load to check if that var was loaded but that would only prevent Hosting.
I then tried putting the var in the html code for the swf but that don't seem to work so well, when I refresh the page the movie randomly seems to play normally or goto my "this is stolen" screen.
View 4 Replies
Jul 5, 2011
I'm attempting to load an external SWF that's hosted on a site into a local SWF file. The external SWF is in a password-protected directory using htaccess.
Here is the code I'm currently trying to use:
var loaderUrlRequest:URLRequest = new URLRequest("http://www.my-website.com/externalFlashFile.swf");
loaderUrlRequest.requestHeaders.push(new URLRequestHeader("Authorization", "Basic
[Code]....
View 2 Replies
Feb 5, 2008
Flash 8, Actionscript 2.0 I wasn't exactly sure where to post this, but I figured here would be alright. I've got this image slideshow/scroller here, that grabs its data from a xml file on the server. nothing new, but the problem is that when i enable hotlinking protection with bluehost, firefox is unable to deal with the file. safari, opera, handle it fine. when hotlinking protection is disabled, firefox handles it fine. [URL]
View 2 Replies
Apr 18, 2011
I searched this forum and used Google to find a answer, there where many to find, but I cannot make it work to redirect my flash intro-site if users doesn't have flash.
For now I use a image to redirect but I would prefer it automatically.
View 1 Replies
Dec 14, 2009
i am using one swf file.on click i have some background process.after finish the process i want to redirect to particular page.but its not working.what should i do to redirect to page.i am using asp.net?
View 2 Replies
Jul 30, 2009
I made 2 websites. One in flash and one in dreamweaver (CSS) site. I want to design a front page which checks for correct flash player and if user does not has flash palyer or plug in then it will redirect the user to the html site without asking.
View 1 Replies
Jul 23, 2011
I have a flash document which is an animation of my company logo, it is displayed when loading any of my clients web pages but i need to know how to redirect it to the client's home page after the animation is completed.
I have used a meta refresh for the moment as a workaround for this!
View 2 Replies
May 10, 2009
Instead of installing flash I would like my visitors to be redirected to a html version of my page if they have no flash detected.
View 2 Replies
Jun 9, 2009
Am trying to see if anyone has any links or resources where I can learn to setup a flash video file where it automatically redirects to another URL such as a sales page at the conclusion of the video. I also would like to find out how to have a link/overlay at the end of the video where a viewer can click to go to another URL such as a sales page.
I am not a prgrammer by profession but do work in Flash and I am willing to try this given the right learning resources. Not sure if both or either of these tasks is done in the flash file or in some type of java script on the html page. I have seen this done by this company [URL] but you have to subscribe to their service using their control panel and they limit the number of players you can create.
I have Flash 8, Flash CS3 and Flash CS4 if needed for this project.
View 1 Replies
Jun 11, 2009
Im new to building site and started using flash cs4. I need to know please what actions i need to redirect my intro to my website within the same browser. Im using flash cs4 i have created my into and now im ready to bring it into my site and have it take me to my index page once the intro is done.
View 9 Replies
Sep 30, 2009
I want to try a trial of adobe flash but it will not let me even start downloading the software at all. It says redirect loop, i tried to dload on firefox and google chrome, internet explorer does not work on my comp. Also it told me to delete all my cookies from the list and i did but i get the same problem.
View 2 Replies
Dec 30, 2009
Have flash installed works great except I want it to resolve to different URL when finished. A second option is to see the window go away and the HTML appear underneath.I have already used the transparent and this does not work.For some reason, it makes its own window and pushes the HTML down and after it runs, one must scroll down to read the index page.
View 1 Replies
Feb 18, 2011
I want in my Flex app to redirect to an HTML page if the user doesn't have Flash installed. I noticed in the HTML generated by Flash it has:
[Code]....
Which displays generic message about not having flash. I know I can put HTML there to be displayed if Flash doesn't exist but I don't want to load the HTML if it's not need (case when Flash is installed) so I thought the best way is to redirect to an HTML page if flash doesn't exist.
View 1 Replies
Aug 3, 2011
We have some older Flash and Flex files that someone before me lost the original files on. Now they want to add event tracking when some links inside the SWFs are clicked that use the old navigateToURL type ActionScript. Does anyone know if you can intercept that action with JavaScript so I can add the tracking they want before it redirects the page?
View 2 Replies
Dec 24, 2011
Is it possible to create a flash file hosted on [URL] and embedded on [URL] that redirects to [URL]? If yes than how? And is it possible to create a flash file that starts a download automatic without user action? Im using Adobe flash professional CS5 and Actionscript 3.
View 1 Replies
Feb 23, 2012
I am working on integrating the social network "vkontakte" into my desktop application using Adobe AIR. The flow of authorization in the app is as follows:
Open the web browser with a url, and when the user inputs login and password, redirect to somePage.html. From that URL, I need to get an access_token to sign all future API requests.
So the question really is: How can I listen to an event, which will indicate that the user has logged in successfully, or failed to get that access_token?
Here is the code I am using:
package
{
import air.net.URLMonitor;
import flash.display.Sprite;
[Code]....
View 1 Replies
Dec 6, 2010
have extensive programming experience in other languages.What I am trying to do should be fairly simple, but I am not able to accomplish it.When a flash video ends I want to redirect the user to a new webpage. This traget webpage will be different based on the query string that is passed.
Example:
Video is embedded on page: /video.php
if query string is: ?redirect_to=xyz[code]....
I think there are 2 options one using Javascript and the other using the load event listener.
View 1 Replies
Mar 4, 2003
I have a flash movie which when I press a button will call a url and append parameters to it based upon values in the form (this is working fine). This submits to a server side page which processes an email and then does a server side redirect back to the page with the flash movie on. Is there anyway I can specify which part of the flash movie to go to. I would like to be able to pass parameters into the movie so I can go to a specific frame and display
View 1 Replies
Aug 7, 2006
what's the action script in an flash that will redirects the html page after the flash has ended 5 second. It will redirect into the page that is in the same target folder example: the flash is in index.html and it will redirect to home.html after the flash end.
[URl]
View 1 Replies
May 3, 2011
I am currently developing an application in flash. In this application user will be able to buy in-game currency using real life money. For this purpose we have some external actors. In our case, it is hipay.Now, once a user clicks on a particular button, as3 will use amfphp to call a php file that eventually will do this: header("Location: ".$url) ; Once this happens I get an error in my flash:
Error: Request for resource at https://test-payment.hipay.com/index...mevarialbes--- by requestor from http://mydomain.com/game.swf denied due to lack of policy file permissions
Connection to https://test-payment.hipay.com/index...mevarialbes--- halted not permitted from http://mydomain.com/game.swf
*** Security Sandbo Violation ***
Warning: failed to load policyfile from https://test-payment.hipay.com/crossdomain.xml
View 2 Replies
Mar 30, 2009
I have an splash page with a movie that plays, after the movie is finished I want it to redirect you to the home page. The movie is sitting on 1 frame in the timeline. Is there a way to have it redirect after the movie is finished playing?
onEnterFrame = function() {
getURL("[URL]");
}
does not work. It is a dynamic site so there is no <head> tag I can put an HTML redirect in. I need to be able to do it through flash.
View 2 Replies