forms authentication doesn't work for static pages/files like GIF/HTML/PDF ?

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

  1. #1

    Default forms authentication doesn't work for static pages/files like GIF/HTML/PDF ?

    do I understand it correctly that forms authentication doesn't work for
    static pages/files like GIF/HTML/PDF ?

    so I cannot convince IIS to redirect to form with login information entry
    (user name/password) if I want to protect static files like for example:
    myserver.com/something/myvideo.wmv

    ????

    is it right? if yes, then how can implement such redirection in IIS?



    www.MSmobiles.com Guest

  2. Similar Questions and Discussions

    1. Accessing htm files without authentication (forms authentication)
      I have application with forms authentication. All works fine. When user opens .aspx file gets login form, login and then get the .aspx page. But...
    2. 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"...
    3. Forms Authentication doesn't protect specified pages.
      This is driving me nuts: I've used this same exact setup (web.config, see below) before without any problems... the authentication does not stop...
    4. Forms authentication for HTML files
      You could map HTML files in IIS admin to the aspnet handler, or, a better way, you could utilize a helper ASPX that takes the html file's path...
    5. Forms Authentication and Login Pages
      Hi, I am creating a web application which have two different login areas. One for members and one for administrators. Currently, I am using forms...
  3. #2

    Default Re: forms authentication doesn't work for static pages/files like GIF/HTML/PDF ?

    the answer is here:

    [url]http://www.dotnetjunkies.com/Article/F32DFC79-3AE7-4D9D-BF1D-91B4B6D130C7.dc[/url]
    ik


    bravo dotnetjunkies.com - the best ever ever ever website for .NET
    developers!!!!
    hahaba!!!! I did that!!!! the new, windows 2003 server based "MS Mobiles
    Community Portal" will be ready for tomorrow.... haha

    "www.MSmobiles.com" <nospam@msmobiles.com> wrote in message
    news:#u9zcoFbEHA.3604@TK2MSFTNGP10.phx.gbl...
    > do I understand it correctly that forms authentication doesn't work for
    > static pages/files like GIF/HTML/PDF ?
    >
    > so I cannot convince IIS to redirect to form with login information entry
    > (user name/password) if I want to protect static files like for example:
    > myserver.com/something/myvideo.wmv
    >
    > ????
    >
    > is it right? if yes, then how can implement such redirection in IIS?
    >
    >
    >

    www.MSmobiles.com 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