Url rewriting : prevent to display xml

Posted by Frank on Stack Overflow See other posts from Stack Overflow or by Frank
Published on 2010-04-08T17:44:12Z Indexed on 2010/04/12 17:03 UTC
Read the original article Hit count: 165

Filed under:
|
|
|

Edit :
I've got an aspx file (default.aspx) that loads a flash file (index.swf), but this swf needs a xml file (foo.xml) to load correctly. However, I would like to block any request aiming directly at the xml file.

Is it possible, using a rewritting engine (isapi_rewrite for example) to detect if the xml file is being 'hotlinked' or being loaded by the 'index.swf'(inside default.aspx)?

Any ideas?

Thank you.

© Stack Overflow or respective owner

Related posts about Xml

Related posts about header