Re: Authorization for non aspx files

From: Craig Deelsnyder (cdeelsny@yahoo.com)
Date: 08/11/02


From: "Craig Deelsnyder" <cdeelsny@yahoo.com>
Date: Sat, 10 Aug 2002 18:03:24 -0500


Forms Auth is an ASP.NET concept/application, so only things that run in
that process are covered. Which is really only aspx files. Map the file
extensions to the aspnet worker process in IIS.

"gg" <nospam@visualsoftware.net> wrote in message
news:MPG.17bee7907cffde23989686@news.microsoft.com...
> I have a folder in a Webapp called Admin with a web.config:
> <?xml version="1.0" encoding="utf-8" ?>
> <configuration>
> <system.web>
> <authorization>
> <allow roles="Admin"/>
> <deny users="*"/>
> </authorization>
> </system.web>
> </configuration>
>
> So only users in role Admin (formsauthentication) can enter.
> but all the .htm and .xml files in this folder are visible to everyone.
> (just type in the url)
> Is it possible to define authorization for these files also with
> asp.net?
>
>
> thnx



Relevant Pages

  • Re: Calling Wesley Vogel
    ... Folder Options/View Empty - Restore Now ... I'll keep having fun as you said, Windows will never disappoint any of us. ... the default in Windows XP to HIDE file extensions. ... Hide extensions for known file types | ...
    (microsoft.public.windowsxp.general)
  • Re: My first real problem
    ... Hide Extensions for known File Types ... Hide protected Operating System Files ... These files are required to start and run Windows. ... Select Folder Options ...
    (uk.people.silversurfers)
  • Re: file upload to subweb
    ... When using the FP extensions you are not suppose to be able to do what you did under NT4, ... why not just create a subweb under the current space allotted to the current root ... FrontPage Resources, WebCircle, MS KB Quick Links, etc. ... > my "Folder List" view of Front Page. ...
    (microsoft.public.frontpage.client)
  • Re: Word 2001 opens and quits, OS 9.2.2
    ... Try booting with all extensions off, ... There is nothing in the Word folder in the Startup folder of the Office ... > IIRC crashing on launch can be related to corrupt fonts. ... Or should I try removing all versions of office? ...
    (microsoft.public.mac.office.word)
  • Re: Drive mapping error
    ... D Clark typed: ... then next time i log in it will map to parent folder. ... The H drives map to ...
    (microsoft.public.windows.server.networking)