ScriptResource and WebResource
<p>I have an IP logger that logs every request on my site. I have an aspx file and all there is on the page is a login control. Sometimes, I see that the user requests files <strong>WebResource.axd</strong> and <strong>ScriptResource.axd</strong>.</p>

<p>What are these files? Should I be worried about why people need these files? Is there a way to make those files not load?</p>

<p>This is the code that gets injected into the source:</p>

<pre><code>    &lt;form method="post" action="Login.aspx" onsubmit="javascript:return WebForm_OnSubmit();" id="form1"&gt;

    &lt;div class="aspNetHidden"&gt;
    &lt;input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" /&gt;
    &lt;input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" /&gt;
    &lt;input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE0MDY3MDIxMTJkZP4uWZ4lXNuyuRrV4WrElW0ggocM1I3JRIQCWFIn//pc" /&gt;
    &lt;/div&gt;



&lt;script type="text/javascript"&gt;
//&lt;![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
    theForm = document.form1;
}

function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]&gt;

&lt;/script&gt;

&lt;script src="/DevSite/WebResource.axd?d=i71SGerEFS7KkmOK1EZlseUozP8wtn-WVT5cKzU7gwBrQo1eh4fne20ms2gsTvxKJQfMBdJy2qa4usXog-laO5ZGY1F1vwWhGm6DyMBpmiw1&amp;amp;t=634485133519310893" type="text/javascript"&gt;&lt;/script&gt;

&lt;script src="/DevSite/WebResource.axd?d=ykdqe6jXivz0IwSUsLMAB7y0B76JMCYJZQUmDdoIbJPye1bBU-uHKTBm3XnHHgRJW9Ra53bZSSw62IBaELjdI2whgbYdvnEPM3_ktH9BQsU1&amp;amp;t=634485133519310893" type="text/javascript"&gt;&lt;/script&gt;

&lt;script type="text/javascript"&gt;

//&lt;![CDATA[

function WebForm_OnSubmit() {

if (typeof(ValidatorOnSubmit) == "function" &amp;&amp; ValidatorOnSubmit() == false) return false;

return true;

}

//]]&gt;

&lt;/script&gt;

&lt;div class="aspNetHidden"&gt;
&lt;input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBALCo9CRAwKS/bz1BgLuoqaLBgKc0OKsAZKG95K3r5LqRnx111ak6bZw5s8X0RNEbBkGVGmv1i6j" /&gt;
&lt;/div&gt;
</code></pre>

<p>Ideally, I'd like to get rid of these dependencies. Is it possible?</p>

<p>Thanks.</p>
