I suppose it could be accomplished in many different ways. Probably the easiest for the programmer is to obtain the two domains that you would be using the file on and lock it in using actionscipt (disable the amination if the domain doesn't match the ones in a list).
Not sure how they would do it without previously knowing the locations but I suppose there are ways.