Last post Aug 15, 2007 02:50 PM by naturehermit
Aug 14, 2007 12:13 PM|mkarbarz|LINK
I have written (more like copy pasted from another site, and then modified a bit) a FLV handler. I set up the web.config file correctly and as far as I can tell the handler is working just fine. The question I have is, how can I filter which URLs are
allowed to "use" the handler. What I mean is the following scenario. I have an embedded flash object on an HTML page that streams Flash videos from my server (separate from the HTML page).
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0 width='336' height='297'">
<param name="movie" value="http://126.96.36.199/vd/FLVScrubber.swf?file=http://188.8.131.52/vd/Lake.flv&bufferTime=3&autoStart=false" />
<param name="quality" value="high" />
As it is now, you can just copy and paste this code to any other html page and it will work fine. How can I limit which URLs are allowed to do that? Is it even possible? What I'm trying to do is prevent people from simply copying this code and pasting
it somewhere else, it has to only work on sites that I gave the permission to. I DO NOT want to use a query string parameter (as I have heard suggested before) as that doesn't really give me much security either.
Any help would be greatly appreciated.
Aug 14, 2007 12:17 PM|naturehermit|LINK
Simple answer is no,
people will be able to copy and paste.
Aug 14, 2007 01:20 PM|mkarbarz|LINK
Aug 14, 2007 02:35 PM|mkarbarz|LINK
Aug 14, 2007 03:14 PM|naturehermit|LINK
The referrer is your own server
Aug 15, 2007 02:50 PM|naturehermit|LINK
Just to let you know this the forum where you already asked the same question
But sorry if this is not the answer you are looking for.