Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Authenticate NT user from ActiveX control?

Authenticate NT user from ActiveX control?

Scheduled Pinned Locked Moved C / C++ / MFC
comsysadminsecurityhelpquestion
7 Posts 3 Posters 9 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    philip andrew
    wrote on last edited by
    #1

    Hi all, My problem is this. I have a user viewing a web page on my intranet and that user has an ActiveX control running on that web page. The ActiveX control needs to get some sort of information about the currently logged in user and to send it to my server and the server must then authenticate that user against the domain. I don't want the user to have to type in a user name or password, I want the user to view the web page, the activeX control to send some security information (SID?) to the server, the server then validates against the NT domain then the user is automatically logged into the intranet system. Do you know what sort of information the ActiveX control needs to get and how I could do all of this? Thanks in advance, Phil

    S 1 Reply Last reply
    0
    • P philip andrew

      Hi all, My problem is this. I have a user viewing a web page on my intranet and that user has an ActiveX control running on that web page. The ActiveX control needs to get some sort of information about the currently logged in user and to send it to my server and the server must then authenticate that user against the domain. I don't want the user to have to type in a user name or password, I want the user to view the web page, the activeX control to send some security information (SID?) to the server, the server then validates against the NT domain then the user is automatically logged into the intranet system. Do you know what sort of information the ActiveX control needs to get and how I could do all of this? Thanks in advance, Phil

      S Offline
      S Offline
      Stephane Rodriguez
      wrote on last edited by
      #2

      IE has integreted authentification, unlike Netscape. This should allow you to log, authenticate, certify someone without showing a single box.


      She's so dirty, she threw a boomerang and it wouldn't even come back.

      P 1 Reply Last reply
      0
      • S Stephane Rodriguez

        IE has integreted authentification, unlike Netscape. This should allow you to log, authenticate, certify someone without showing a single box.


        She's so dirty, she threw a boomerang and it wouldn't even come back.

        P Offline
        P Offline
        philip andrew
        wrote on last edited by
        #3

        Problem is I have a Apache web server with J2EE on it on a Tomcat thingy. My clients are IE. So you see why I need an ActiveX control to send something to the web server to be authenticated... Any ideas? Cheers, Phil

        S D 2 Replies Last reply
        0
        • P philip andrew

          Problem is I have a Apache web server with J2EE on it on a Tomcat thingy. My clients are IE. So you see why I need an ActiveX control to send something to the web server to be authenticated... Any ideas? Cheers, Phil

          S Offline
          S Offline
          Stephane Rodriguez
          wrote on last edited by
          #4

          If you can't rely in integrated authentification (explained here[^]) which to be honest assumes a IE - IIS pair, you may end up doing simple https auto-form submit. I would see you create a https page (from any web server, like the ones you mentioned), build a form, and use the ActiveX to fill and submit this form. Just a thought.


          She's so dirty, she threw a boomerang and it wouldn't even come back.

          1 Reply Last reply
          0
          • P philip andrew

            Problem is I have a Apache web server with J2EE on it on a Tomcat thingy. My clients are IE. So you see why I need an ActiveX control to send something to the web server to be authenticated... Any ideas? Cheers, Phil

            D Offline
            D Offline
            Daniel Turini
            wrote on last edited by
            #5

            Maybe what you need is WinBind[^], not an ActiveX My latest articles: Desktop Bob - Instant CP notifications XOR tricks for RAID data protection

            P 1 Reply Last reply
            0
            • D Daniel Turini

              Maybe what you need is WinBind[^], not an ActiveX My latest articles: Desktop Bob - Instant CP notifications XOR tricks for RAID data protection

              P Offline
              P Offline
              philip andrew
              wrote on last edited by
              #6

              Well... no unfortuantly. Basically the problem is this - the user is logged into his machine at work as per normal then they open their browser and navigate to the intranet web page. Which happens to be served from an Apache web server running J2EE/JSP etc. Now - as I know the user is currently logged into the domain, why can't that users credientials be sent to the server in order to identify who that user is without the user ever having to enter their user name and password. You see, once the user logged into the domain when the booted their computer they should have a SID, why can't I then send that SID to the server to verify that user? If so - how? Phil

              D 1 Reply Last reply
              0
              • P philip andrew

                Well... no unfortuantly. Basically the problem is this - the user is logged into his machine at work as per normal then they open their browser and navigate to the intranet web page. Which happens to be served from an Apache web server running J2EE/JSP etc. Now - as I know the user is currently logged into the domain, why can't that users credientials be sent to the server in order to identify who that user is without the user ever having to enter their user name and password. You see, once the user logged into the domain when the booted their computer they should have a SID, why can't I then send that SID to the server to verify that user? If so - how? Phil

                D Offline
                D Offline
                Daniel Turini
                wrote on last edited by
                #7

                philip andrew wrote: Now - as I know the user is currently logged into the domain, why can't that users credientials be sent to the server in order to identify who that user is without the user ever having to enter their user name and password. Because that machine does not belongs to the domain. That would be a huge security breach. If MS allowed what you're saying, as you navigate to any Web Site you could have your username/password stolen. My latest articles: Desktop Bob - Instant CP notifications XOR tricks for RAID data protection

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups