Skip to main content
July 23, 2012
Question

how to protect origin server?

  • July 23, 2012
  • 1 reply
  • 509 views

Is there a way to protect an origin server from being pulled by some edge servers? Right now anyone who knows my origin IP can pull its content easily. There should be a way, like IP restriction that allow certains IPs to pull

    This topic has been closed for replies.

    1 reply

    Known Participant
    July 23, 2012

    Try looking at the adapter.xml > Adaptor > Allow directive. However that may be for pull and push (record). I have never used this because we have written our own auth adapter in C where you have a lot more control (good starting point http://blog.denivip.ru/index.php/2011/01/flash-media-server-4-urls-tokenization/?lang=en). However it may be what you want...

    <!-- This tag specifies that clients can only connect to the server from  -->

    <!-- the specified hosts. This is specified as a comma delimited list of  -->

    <!-- hostnames or domain names and/or (full or partial) IP addresses, as  -->

    <!-- well as the keyword "all" (no quotes required).                      -->

    <!-- For example:                                                         -->

    <!-- <Allow>x.foo.com, foo.com, 10.60.1.133, 10.60</Allow> or             -->

    <!-- <Allow>all</Allow>                                                   -->