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 add a password to a .exe file?

How to add a password to a .exe file?

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
5 Posts 4 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.
  • S Offline
    S Offline
    sharkmouse
    wrote on last edited by
    #1

    hello, i want to add a password to a .exe file,when run the .exe file ,popup a dialog and ask the password first,if password is right then run the true .exe file,how can i do it?

    S 1 Reply Last reply
    0
    • S sharkmouse

      hello, i want to add a password to a .exe file,when run the .exe file ,popup a dialog and ask the password first,if password is right then run the true .exe file,how can i do it?

      S Offline
      S Offline
      skybirdcao
      wrote on last edited by
      #2

      I think there is a easy way to do that. At the beginning of you code, you can add the code to show the password dialog, if password true, run continuously, if not exit. skybird

      L S L 3 Replies Last reply
      0
      • S skybirdcao

        I think there is a easy way to do that. At the beginning of you code, you can add the code to show the password dialog, if password true, run continuously, if not exit. skybird

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Depends on how secure you want it. This method can be bypassed in less than ten five minutes

        1 Reply Last reply
        0
        • S skybirdcao

          I think there is a easy way to do that. At the beginning of you code, you can add the code to show the password dialog, if password true, run continuously, if not exit. skybird

          S Offline
          S Offline
          sharkmouse
          wrote on last edited by
          #4

          hello, i do not know what is your meaning,do you meaning to insert the code to the PE file of the .exe file?if it,how to add the code to the .exe file? thanks.

          1 Reply Last reply
          0
          • S skybirdcao

            I think there is a easy way to do that. At the beginning of you code, you can add the code to show the password dialog, if password true, run continuously, if not exit. skybird

            L Offline
            L Offline
            Le Quang Long
            wrote on last edited by
            #5

            pls give me an ex!

            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