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. How to implement the NTLM authorization

How to implement the NTLM authorization

Scheduled Pinned Locked Moved C / C++ / MFC
securityjsonhelptutorialquestion
2 Posts 2 Posters 0 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.
  • J Offline
    J Offline
    Jin Yao
    wrote on last edited by
    #1

    Hello all, I'm writing a tool which must provide the function of sending data to some hosts in the internet via our company's http proxy. The proxy uses the NTLM authorization rule. I don't want to use the winHTTP API because they control socket transfer. I'd like to control it by myself. Who can tell me which API (except WinHttpSetCredentials()) may help me to realize the NTLM authorization? Thanks a lot

    M 1 Reply Last reply
    0
    • J Jin Yao

      Hello all, I'm writing a tool which must provide the function of sending data to some hosts in the internet via our company's http proxy. The proxy uses the NTLM authorization rule. I don't want to use the winHTTP API because they control socket transfer. I'd like to control it by myself. Who can tell me which API (except WinHttpSetCredentials()) may help me to realize the NTLM authorization? Thanks a lot

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      The API you need for implementing security yourself is InitializeSecurityContext. I don't recall the full details myself, but I do remember that there's a good description in Programming Server-Side Applications for Windows[^].

      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