RE: web.config
From: ranganh (ranganh_at_discussions.microsoft.com)
Date: 06/28/04
- Next message: Timo Erbach: "CS0016"
- Previous message: ranganh: "RE: Forms Authentication for particular folder"
- In reply to: olap: "web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 28 Jun 2004 02:09:02 -0700
Dear Olap,
The htm files are not served by asp.net and are served by IIS itself. To enable security for that page, go to your application's virtual directory.
Go to Properties, Configuration and in the list, click add to add the .htm extension and set the same properties as that of the one's for .aspx which is being listed in the grid.
Once you are done with that, the htm files will be served by asp.net and the security would be enforced.
hope it helps.
"olap" wrote:
> do you know why if i've got an entry in the web.config like this:
>
> <location path="Reportistica/Cruscotto">
> <system.web>
> <authorization>
> <allow users="Domain\MArio"/>
> <deny users="*"/>
> </authorization>
> </system.web>
> </location>
>
> it works
>
> instead if i've got an entry like this:
>
>
> <location path="Reportistica/Cruscotto/OLAP/Page.htm">
> <system.web>
> <authorization>
> <allow users="Domain\MArio"/>
> <deny users="*"/>
> </authorization>
> </system.web>
> </location>
>
> it doesn't work, and everyone can access that page?
>
>
> thx
>
>
>
- Next message: Timo Erbach: "CS0016"
- Previous message: ranganh: "RE: Forms Authentication for particular folder"
- In reply to: olap: "web.config"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|