Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-10-2010, 03:12 AM   #1
Registered User
Join Date: Feb 2010
Posts: 3
Default [AS3] Hiding the RTMP URL of the video stream on a .as file

i am broadcasting throght FMS (flash media server)
i want to put my RTMP URL in actionscript file and then include it on SWF file. no URL in the SWF file so it can play the video independantly unless the .ac file is in the same folder.

So even if some one steal my swf and put it on there website
SWF file include "randomname.as"
"Random name they dont know or cant guess". the video will not play on their URL.

Does anybody knows how to do this.

Thank you.

Alternative options ate greatly appreciated, like hiding it on a.XML
ashlykwan07 is offline   Reply With Quote
Old 02-10-2010, 03:38 AM   #2
The Flash Ministry
Join Date: May 2006
Posts: 38

Try making a 'proxy' server side script that will provide the url's you need. Perhaps a php script that checks for the HTTP refferer before returning valid url strings. ( the PHP could return an xml file as well )

If you're unfamiliar with how the PHP script might look, check out this page: http://php.net/manual/en/reserved.variables.server.php
judgedice is offline   Reply With Quote
Old 02-10-2010, 02:49 PM   #3
Senior Member
Join Date: Jan 2008
Posts: 831

People do not look for rtmp url in swf files.

People find them using wireshark.
i = (Andy)this;
bowljoman is offline   Reply With Quote
Old 02-24-2010, 04:29 AM   #4
Senior Member
Join Date: Oct 2009
Posts: 189
Send a message via Skype™ to sparkdemon

Let them see rtmp url. Thats not a issue. Implement stream security at server end so that only permitted domains are served. also disable stream publish and shared object access.
sparkdemon is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 08:49 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.