# Protect swf from hotlinking

**URL:** <https://forum.kirupa.com/t/protect-swf-from-hotlinking/50170>\
**Category:** flash\
**Created:** [April 29, 2004, 10:41pm UTC](https://forum.kirupa.com/t/protect-swf-from-hotlinking/50170 "2004-04-29T22:41:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Clown\_Staples](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@Clown\_Staples](https://forum.kirupa.com/u/Clown_Staples)\
**Post date:** [April 29, 2004, 10:41pm UTC](https://forum.kirupa.com/t/protect-swf-from-hotlinking/50170/1 "2004-04-29T22:41:42Z")

</div>

Can an swf check to see what the url of the page in which it is embedded is?

I don’t care if other people host copies of the swf, but I dont want them to embed my copy in their pages, so I want to show some kind of default image if the html address is not my site.  
Thanks.
