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. windows password

windows password

Scheduled Pinned Locked Moved C / C++ / MFC
security
5 Posts 5 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.
  • M Offline
    M Offline
    Member 781610
    wrote on last edited by
    #1

    hi :), i'm presently in a project where i want to use windows password for my users authentication. I don't know how. Could any one please provide me the resources. Thanx, Seenivasan Palaniappan ;) Long Live

    C N G 3 Replies Last reply
    0
    • M Member 781610

      hi :), i'm presently in a project where i want to use windows password for my users authentication. I don't know how. Could any one please provide me the resources. Thanx, Seenivasan Palaniappan ;) Long Live

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      What do you mean by 'use windows password' ? If you want just something that let the user enter a password in an edit box (and hiding the characters), you have an option with the editbox that let you do that (check the password option).

      B 1 Reply Last reply
      0
      • C Cedric Moonen

        What do you mean by 'use windows password' ? If you want just something that let the user enter a password in an edit box (and hiding the characters), you have an option with the editbox that let you do that (check the password option).

        B Offline
        B Offline
        Bob Stanneveld
        wrote on last edited by
        #3

        I think that he want's to use the users and groups from a windows domain controller for automatic authentication. Behind every great black man...             ... is the police. - Conspiracy brother Blog[^]

        1 Reply Last reply
        0
        • M Member 781610

          hi :), i'm presently in a project where i want to use windows password for my users authentication. I don't know how. Could any one please provide me the resources. Thanx, Seenivasan Palaniappan ;) Long Live

          N Offline
          N Offline
          Nilesh K
          wrote on last edited by
          #4

          Well maybe you can accept user login details and do an impersonate login, if it succeeds then consider that it is a valid user.

          - Nilesh "Reading made Don Quixote a gentleman. Believing what he read made him mad" -George Bernard Shaw

          1 Reply Last reply
          0
          • M Member 781610

            hi :), i'm presently in a project where i want to use windows password for my users authentication. I don't know how. Could any one please provide me the resources. Thanx, Seenivasan Palaniappan ;) Long Live

            G Offline
            G Offline
            geek 0
            wrote on last edited by
            #5

            Hi :-), I didn't get your question. But i assume that you want to check if the user is really a windows user and has entered his username and password correctly. If that is the case, then you can use concepts from http://win32.mvps.org Also, refer to the "Authorization Functions" under the Win32 SDK help. CreateProcessAsUser and CreateProcessWithLogon can be used. Happy coding. Regards, Suresh Ponnusami

            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