Authentication and custom errors

Ask a Question related to ASP, Design and Development.

  1. #1

    Default Authentication and custom errors

    I have an intranet application that uses w2k Integrated
    Windows Authentication to authenticate users. We now have
    a situation where people will be accessing it who are on
    our network but will not be logged into w2k - so now they
    are challenged and fail the challenge.
    To handle that situation I plan to use iis custom errors
    with one of the 401 codes to redirect the user to a
    generic page.
    The problem is that I cant figure out how to exactly
    simulate the problem on my local machine for development,
    as by definition Im of course logged into my own computer.
    Ive decided to put basic authentication on the folder
    where the authentication occurs, and then fail its
    challenge, use the redirect, etc. Once this works, then
    hopefully I can made some minor changes and use it with
    Integrated Windows.
    My question is whether this will be a valid simulation:
    do those 2 authentication systems work in the same manner
    with custom errors? In other words, I dont want to write
    a solution for basic auth that doesnt work (with minor
    tweaks - for example Im not sure if the same http error is
    thrown) with integrated auth.
    Thanks, Mark
    Mark Aurit Guest

  2. Similar Questions and Discussions

    1. Authentication Errors
      What would cause an error like this ? http://tel3deal.com/pics/contributecs3.gif
    2. Errors when import custom SWC into Flex
      Hello. I am creating some custom components in Flash IDE to then use in flex. The components are working but I am getting some errors that are...
    3. Custom Authentication
      I am implementing some custom authentication for an intranet app I am building for my company. It is all done and working but I was wondering if...
    4. Forms Authentication and Custom errors
      Hi all, I've searched this problem and sort of found the resolution but cant get it to work. Web site using forms authentication, just...
    5. 403 Forbidden errors w/ windows authentication
      Hello I am developing a intranet application in an all Windows environment, but I'm running into a authentication snag. I use Windows Integrated...
  3. #2

    Default Re: Authentication and custom errors

    Do not use basic authentication on your intranet. This will send any login
    information as clear text, which can be compromised by anyone who is
    authenticated. If you plan to use Basic, then consider adding SSL to the
    mix. If you want to keep Windows authentication, then use the idea below.

    You can setup the ability for those who are outside your domain access to
    the site using Windows authentication. What I did was create a global group
    on the PDC; adding those who needed access internally. Then I created a
    local group on the web server adding in the Global group and the individuals
    outside the domain into this local group; giving the necessary permissions.
    This allowed user's in DC to login and have access to WebPages that returned
    their files, which were located in Colorado.

    Since my pages were ASP, I was able to code in messages to user's who tried
    to access areas they were not authorized.

    Hope this helps.


    "Mark Aurit" <mark.aurit@ngc.com> wrote in message
    news:017101c3788c$0b8f6f90$a401280a@phx.gbl...
    > I have an intranet application that uses w2k Integrated
    > Windows Authentication to authenticate users. We now have
    > a situation where people will be accessing it who are on
    > our network but will not be logged into w2k - so now they
    > are challenged and fail the challenge.
    > To handle that situation I plan to use iis custom errors
    > with one of the 401 codes to redirect the user to a
    > generic page.
    > The problem is that I cant figure out how to exactly
    > simulate the problem on my local machine for development,
    > as by definition Im of course logged into my own computer.
    > Ive decided to put basic authentication on the folder
    > where the authentication occurs, and then fail its
    > challenge, use the redirect, etc. Once this works, then
    > hopefully I can made some minor changes and use it with
    > Integrated Windows.
    > My question is whether this will be a valid simulation:
    > do those 2 authentication systems work in the same manner
    > with custom errors? In other words, I dont want to write
    > a solution for basic auth that doesnt work (with minor
    > tweaks - for example Im not sure if the same http error is
    > thrown) with integrated auth.
    > Thanks, Mark

    GVaught 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