Protect live stream on FMIS
Hi,
I want to protect my live streams. I use allowhtmldomain.txt and include my domain name there. after i did that people stream to my FMIS using FME can not connect to my server. they are receiving error on FME saying "
I did research and found this code
var VALID_REFERRER = "http://localhost/SimpleConnect.swf";
var VALID_PAGEURL = "http://localhost/SimpleConnect.html";
application.onConnect = function(pClient) {
if (pClient.referrer == VALID_REFERRER && pClient.pageUrl == VALID_PAGEURL) {
this.acceptConnection(pClient);
} else {
this.rejectConnection(pClient)
}
}
}
and put that on main.asc, and change URL to my file location. but i still get same error.
Is there is a way to allow only my website and disable all other websites from leeching, while FME can stream to my FMIS without problems.
