Forms Auth and none aspx pages

Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default Forms Auth and none aspx pages

    I have forms authentication working for any aspx page (I'm doing this on
    both a folder level and also individual files).

    The problem I have is if the file is an exe or html then forms auth seems to
    be ignored.

    How do I get Forms auth to work for other file type too ?

    Thanks

    --
    -
    Michael Tissington
    [url]http://www.oaklodge.com[/url]


    Michael Tissington Guest

  2. Similar Questions and Discussions

    1. Forms Auth Info passed to Windows Auth?
      The requirement is to build an ASP.Net intranet application, so external users can log in to the main web portal via forms authentication, using...
    2. Forms Auth. What do you think?
      Hi guys, I am new to forms Authetication and wish to do the following.. A bit like the Dreamweaver Authentication tool... 1. Authenticate my...
    3. Roles based Forms Auth - denied pages redirect
      I would like to know how, if at all possible, a custom redirect page can be setup for when a users role(s) are denied to a page. The default...
    4. forms authentication: redirects for *.aspx pages only, not for other extensions, not for static content
      Hi! I am using something like this in web.config : <authentication mode="Forms"> <forms name=".MSMOBILES_COM___COOKIE" loginUrl="login.aspx"...
    5. Configuring Windows Auth & Forms Auth in Asp.Net
      Configuring Windows Auth & Forms Auth in Asp.Ne Hi, I've configured a web app to use windows authentication and also set up two separate...
  3. #2

    Default Re: Forms Auth and none aspx pages

    > I have forms authentication working for any aspx page (I'm doing this on
    > both a folder level and also individual files).
    >
    > The problem I have is if the file is an exe or html then forms auth seems
    to
    > be ignored.
    >
    > How do I get Forms auth to work for other file type too ?
    By default this is only configured for aspx files. To get it to apply to
    other files, you need to go into IIS and set up mappings for file types you
    need to secure. I don't recall the details offhand. If you have trouble
    doing it, post back here and I'll try and check again in the future and look
    up the details for you.

    HTH

    Lauchlan M


    Lauchlan M Guest

  4. #3

    Default Re: Forms Auth and none aspx pages

    Lauchlan ,

    I've looked into various settings on IIS but can't find how to do this.

    Any pointers please?

    --
    Michael Tissington
    [url]http://www.oaklodge.com[/url]


    "Lauchlan M" <LMackinnon@Hotmail.com> wrote in message
    news:eX7o%23ukjDHA.1004@tk2msftngp13.phx.gbl...
    > > I have forms authentication working for any aspx page (I'm doing this on
    > > both a folder level and also individual files).
    > >
    > > The problem I have is if the file is an exe or html then forms auth
    seems
    > to
    > > be ignored.
    > >
    > > How do I get Forms auth to work for other file type too ?
    >
    > By default this is only configured for aspx files. To get it to apply to
    > other files, you need to go into IIS and set up mappings for file types
    you
    > need to secure. I don't recall the details offhand. If you have trouble
    > doing it, post back here and I'll try and check again in the future and
    look
    > up the details for you.
    >
    > HTH
    >
    > Lauchlan M
    >
    >

    Michael Tissington Guest

  5. #4

    Default Re: Forms Auth and none aspx pages

    > Lauchlan ,
    >
    > I've looked into various settings on IIS but can't find how to do this.
    >
    > Any pointers please?
    Go into Internet Services Manager | Default Website and right-click
    'properties' on <YourWebApplication>

    Go to the 'Directory' tab. Click the 'Configuration' button. Add the kinds
    of resources you need to 'Application mappings'.

    HTH

    Lauchlan M


    Lauchlan M Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139