<system.webServer>
<rewrite>
<rules>
<rule name="Prevent hotlinking">
<match url="^.*\.(rar|zip)$" ignoreCase="true" />
<conditions>
<add input="{HTTP_REFERER}" pattern="
http://www.oyksoft.com/.*" negate="true" />
<add input="{HTTP_REFERER}" pattern="
http://wt.oyksoft.com/.*" negate="true" />
</conditions>
<action type="Rewrite" url="/no.html" />
</rule>
</rules>
</rewrite>
</system.webServer>