Skip to main content
February 6, 2013
Question

help with allowed domains

  • February 6, 2013
  • 1 reply
  • 449 views

//domains list

    this.domainList = new Array("http://www.domain.com","http://domaint.com");

    this.domainVerify=false;

    this.domainLength = this.domainList.length;

    application.users_list = SharedObject.get("users_list", false);

    this.list = {};

};

Can i ask you guys how should be this script to allow all domain without any restrictions

    This topic has been closed for replies.

    1 reply

    February 7, 2013

    Hi,

    If you are trying to validate domain names then I would suggest you to look into the main.asc file for vod application. You can find it under <FMS_Root_Install>/samples/applications/vod. In that there is a function named "validate" which does the validation of domains by matching it from a list of domains specified in a text file named "allowedHTMLdomains.txt".