# How to restrict SWF

**URL:** <https://forum.kirupa.com/t/how-to-restrict-swf/285129>\
**Category:** flash\
**Created:** [March 27, 2009, 11:11am UTC](https://forum.kirupa.com/t/how-to-restrict-swf/285129 "2009-03-27T11:11:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcanistrum](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jcanistrum/32/2188_2.png) [@jcanistrum](https://forum.kirupa.com/u/jcanistrum)\
**Post date:** [March 27, 2009, 11:11am UTC](https://forum.kirupa.com/t/how-to-restrict-swf/285129/1 "2009-03-27T11:11:38Z")

</div>

to be loaded by just one .html ??

I have one book which was converted page to swf.

Each swf will be inside one .html, pag1.html contains pag1.swf, I´d like to avoid the direct url reference to pag1.swf.

Any way of detecting the URL of html the swf file is embedded in?

jcarlos
