English 中文(简体)
保护App.net 成员提供人
原标题:protecting non .aspx pages with Asp.net Membership provider

目前,Im正在使用 as网成员提供商(储存在db中的标识),以保护我网站的某些页面。 然而,我也拥有我希望保护的非.aspx资源,即:T字、Excel电子表格、pdf等。 这是否可行? 如果是这样,我会如何这样做?

感谢!

问题回答

如果您在集成管道<>/strong>(缺电装置)下运行IIS 7,所有申请均通过全球导航卫星系统国际委员会提出。 这意味着,除建立你的网络外,你必须做任何事情。 你们需要做一点事情,把以下属性列入<条码>。 http://www.un.org。

<modules runAllManagedModulesForAllRequests="true" />

这确保了认证单元的形式符合你的固定内容。





相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Transaction handling with TransactionScope

I am implementing Transaction using TransactionScope with the help this MSDN article http://msdn.microsoft.com/en-us/library/system.transactions.transactionscope.aspx I just want to confirm that is ...

System.Web.Mvc.Controller Initialize

i have the following base controller... public class BaseController : Controller { protected override void Initialize(System.Web.Routing.RequestContext requestContext) { if (...

Microsoft.Contracts namespace

For what it is necessary Microsoft.Contracts namespace in asp.net? I mean, in what cases I could write using Microsoft.Contracts;?

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!