Is this possible?

Is it possible to make flash recognize the actual link of the website that a .swf is on?

For example, let’s say I want my .swf only to work at where I uploaded it.

Let’s say I upload it at …com/files/Thing.swf
And someone tries to make a link at …com/files/Thing.html to my .swf by embedding it.

Is it possible to basically just check the link it’s at?

Sorry if this sounds complicated.