如体  我今天看了半天  还不太清楚两种方式具体的概念  他们之间的差异 和 优劣阿~ 
高手们帮帮我阿 ~~~~~~~~~~`

解决方案 »

  1.   

    在asp.net中认证方式只有Forms、Windows和Passport,没有所谓httpmodule
      

  2.   

    用httpmodule 也可以实现把?
      

  3.   

    http://dev.csdn.net/develop/article/42/article/44/44454.shtm
    这里给出了httpmodule 用户权限控制的实现
    不知道 和 FORM   用的场合有什么不同阿  或者效果上有其他什么区别?
      

  4.   

    >>不知道 和 FORM   用的场合有什么不同阿  或者效果上有其他什么区别?forms authentication is also achieved through a HttpModule in the pipeline, seehttp://msdn.microsoft.com/msdnmag/issues/02/09/HTTPPipelines/<httpModules>
      <add name="OutputCache"            type="..."/>
      <add name="Session"                type="..."/>
      <add name="WindowsAuthentication"  type="..."/>
      <add name="FormsAuthentication"    type="..."/>
      <add name="PassportAuthentication" type="..."/>
      <add name="UrlAuthorization"       type="..."/>
      <add name="FileAuthorization"      type="..."/>
    </httpModules>