ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

ASP.NET.in.a.Nutshell.Second.Edition [Electronic resources] - نسخه متنی

G. andrew Duthie; matthew Macdonald

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید









UrlAuthorizationModule

System.Web.Security (system.web.dll)sealed class

ASP.NET uses this class automatically to determine whether access to
a specified resource (a URL requested by the client) should be
allowed or denied, based on the identity of the currently
authenticated user. This class is used as needed, but is not directly
referenced in the web.config file. You can
configure URL authorization by adding a list of users or roles in the
<allow> or <deny>
elements of the <authorization> section of a
configuration file.

Both the FormsAuthenticationModule and
PassportAuthenticationModule set the
System.Web.HttpContext.SkipAuthorization property
to True when redirecting the client to a login
page so they can bypass the UrlAuthorizationModule
checks.

public sealed class 

UrlAuthorizationModule : System.Web.IHttpModule {
// Public Constructors
public

UrlAuthorizationModule ( );
// Public Instance Methods
public void

Dispose ( ); // implements System.Web.IHttpModule
public void

Init (System.Web.HttpApplication

app ); // implements System.Web.IHttpModule
}




/ 873