You could certainly create a rule that would reject requests if the referrer is not equial to "login.asp". But this method is not very reliable - is it very easy to write an HTTP client which can set the referrer header to anything it wants, thus bypassing your login page. Have you considered...