all groups > macromedia flash flashcom > july 2005 >
You're in the

macromedia flash flashcom

group:

URL Referral Restriction


URL Referral Restriction bp32051
7/29/2005 9:06:45 PM
macromedia flash flashcom:
I have some Flash videos that I would like to stream. I only want people to be
able to view these streaming Flash videos if they click on a URL on a specific
web site. Will the personal addition or professional addition of the Flash
communications server allow me to stream my Flash videos and resctrict access?
If so, which one(s) allow this? Thanks.
Re: URL Referral Restriction TZDeveloper
8/5/2005 9:24:07 PM
All of them allow you to do this with client.referrer in the onConnect handler

application.onConnect = function(newClient){
if(newClient.referrer == 'http://www.someDomain.com'){
//code
application.acceptConnection(newClient);
}else{
//code
application.rejectConnection(newClient);
}
};
Re: URL Referral Restriction Death_Claw
8/6/2005 7:35:37 AM
If its more complicated (like they're not coming to the Flash from that site)
have the URL link perform a CGI database write and use a WebService to verify
the hostname has done the action required. LoadVars should help you identify
your user.
AddThis Social Bookmark Button