Re: Help with <location> element in web.config
- From: Alexey Smirnov <alexey.smirnov@xxxxxxxxx>
- Date: Thu, 07 Jun 2007 15:28:46 -0700
On Jun 7, 11:04 pm, Mike <M...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi. I need to deny unauthenticated users from accessing an excel file
located within my webapp at SecurePages/ExcelFile1.xls. I've added the below
<location> element to my web.config, but it allows unauthenticated users to
access the file. What am I doing wrong? Cannot .xls files be protected this
way?
<location path="SecurePages/ExcelFile1.xls">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
It would work with Windows Authentication only.
.
- Prev by Date: Re: Do you use IIS or WebDev for development server?
- Next by Date: Re: thread httpContext
- Previous by thread: Re: Help with <location> element in web.config
- Index(es):
Relevant Pages
|