AuthenticateRequest in Global.asax and a custom HTTP Module

From: Leslie (
Date: 05/24/05

Date: Tue, 24 May 2005 11:11:09 -0700

I am writing a web services application, using basic authentication.
However, I need to authenticate against user setting up in our database. So,
I need to write my own code to authenticate users.

I think that I could put my authentication code in AuthenticateRequest event
in either Global.asax or in a custom HTTP module. However, I don't know what
is the difference between them. And is there any implication if I make the
choice of one way or the other?

Any helps would be appreciated. Thanks.