q: asp.net: changing logon time to get LOGON32_LOGON_NETWORK_CLEARTEXT ?

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

  1. #1

    Default q: asp.net: changing logon time to get LOGON32_LOGON_NETWORK_CLEARTEXT ?

    Hi All !

    I get into the problem... My web application, which uses authentication
    mode="Windows", so the app will impersonate under the user, which access
    it's pages. In the application, I do use
    "Microsoft.Win32.RegistryKey.OpenRemoteBaseKey ", which fails, because the
    app identity was (probably) logged on w/out the NETWORK_CLEARTEXT flag
    (LogonUser).

    So, the question is: can I change that flag somehow for current application
    identity ? I can not do the LogonUser, because my server-side code do not
    have the password for user, only it's identity (token) in Principal
    object...

    Any ideas ?

    Thank you,

    Yury.


    Juri Zenkevitch Guest

  2. Similar Questions and Discussions

    1. Design time doesn't update when changing collection
      I have a custom control with a ListItemCollection. If I add items by hand in the aspx and switch to design time view, everything works fine....
    2. changing text properties at run time doesn't work
      when I try to increment the text itself like myText._x ++; it will only move one pixel! it wont keep moving like a movie clip. I know that this...
    3. Time/Date format and changing time to GMT
      Hi All, Sorry if this is the wrong newsgroup to post into, on this topic, if so, please point me in the right direction..... Currently working...
    4. Changing a sprite member for a period of time
      Dear Forum I have developed a childs numeracy and spelling game. I have managed to build the back-end of the system i.e the creation of random...
    5. Changing MyDataGrid.PageSize casues run time error
      As in the C# samples : ms-help://MS.VSCC.2003/MS.MSDNQTR.2003APR.1033/cpref/html/frlrfsystemwebuiwe...
  3. #2

    Default Re: asp.net: changing logon time to get LOGON32_LOGON_NETWORK_CLEARTEXT ?

    Err, I meant to say "logon type" in subject :)

    "Juri Zenkevitch" <yury@altiris.ee> wrote in message
    news:#D7jIsBtDHA.3744@TK2MSFTNGP11.phx.gbl...
    > Hi All !
    >
    > I get into the problem... My web application, which uses authentication
    > mode="Windows", so the app will impersonate under the user, which access
    > it's pages. In the application, I do use
    > "Microsoft.Win32.RegistryKey.OpenRemoteBaseKey ", which fails, because the
    > app identity was (probably) logged on w/out the NETWORK_CLEARTEXT flag
    > (LogonUser).
    >
    > So, the question is: can I change that flag somehow for current
    application
    > identity ? I can not do the LogonUser, because my server-side code do not
    > have the password for user, only it's identity (token) in Principal
    > object...
    >
    > Any ideas ?
    >
    > Thank you,
    >
    > Yury.
    >
    >

    Juri Zenkevitch Guest

  4. #3

    Default Re: asp.net: changing logon time to get LOGON32_LOGON_NETWORK_CLEARTEXT ?

    Yury,
    mode="Windows" will not insure that the the app will
    impersonate under the user. However, this will:

    <identity impersonate="true" />

    It is likely that the users are using the local ASPNET
    user.

    Brian
    >-----Original Message-----
    >Err, I meant to say "logon type" in subject :)
    >
    >"Juri Zenkevitch" <yury@altiris.ee> wrote in message
    >news:#D7jIsBtDHA.3744@TK2MSFTNGP11.phx.gbl...
    >> Hi All !
    >>
    >> I get into the problem... My web application, which
    uses authentication
    >> mode="Windows", so the app will impersonate under the
    user, which access
    >> it's pages. In the application, I do use
    >> "Microsoft.Win32.RegistryKey.OpenRemoteBaseKey ", which
    fails, because the
    >> app identity was (probably) logged on w/out the
    NETWORK_CLEARTEXT flag
    >> (LogonUser).
    >>
    >> So, the question is: can I change that flag somehow for
    current
    >application
    >> identity ? I can not do the LogonUser, because my
    server-side code do not
    >> have the password for user, only it's identity (token)
    in Principal
    >> object...
    >>
    >> Any ideas ?
    >>
    >> Thank you,
    >>
    >> Yury.
    >>
    >>
    >
    >
    >.
    >
    Brian C 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