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. Password protecting other apps

Password protecting other apps

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
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.
  • A Offline
    A Offline
    Anonymous
    wrote on last edited by
    #1

    Hi all, I would like to write a program that allows me to password protect applications such as Word and I.E. My, vision is that when one of these apps is launched my app would open first and ask for the password and then either continue or kill the app. Would you have any ideas to point me in the right direction? Thanks in advance for your help, bacon

    K D 2 Replies Last reply
    0
    • A Anonymous

      Hi all, I would like to write a program that allows me to password protect applications such as Word and I.E. My, vision is that when one of these apps is launched my app would open first and ask for the password and then either continue or kill the app. Would you have any ideas to point me in the right direction? Thanks in advance for your help, bacon

      K Offline
      K Offline
      kanetheterrible1
      wrote on last edited by
      #2

      i did soemthing like this using API hooks.study Ivo Ivanov's API hooking revealed for more info. Hope it helps :) Regards Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason, huh ?"

      A 1 Reply Last reply
      0
      • K kanetheterrible1

        i did soemthing like this using API hooks.study Ivo Ivanov's API hooking revealed for more info. Hope it helps :) Regards Kane "Some guys hack just to get themselves a girlfriend.What a pathetic reason, huh ?"

        A Offline
        A Offline
        Archer282
        wrote on last edited by
        #3

        what i would do, is look for windows with those classname and titles of the windows you wish to protect, (you can use Spy++ to get them) then hide them using the Showwindow() function and bring up your password dialog if they enter the right password show the window/s again using ShowWindow()

        1 Reply Last reply
        0
        • A Anonymous

          Hi all, I would like to write a program that allows me to password protect applications such as Word and I.E. My, vision is that when one of these apps is launched my app would open first and ask for the password and then either continue or kill the app. Would you have any ideas to point me in the right direction? Thanks in advance for your help, bacon

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Anonymous wrote: ...when one of these apps is launched my app would open first... You might see about modifying the HKEY_CLASSES_ROOT\exefile\shell\open\command registry key. Change the (Default) value to myprog.exe "%1" %* and see if that works.


          "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

          A 1 Reply Last reply
          0
          • D David Crow

            Anonymous wrote: ...when one of these apps is launched my app would open first... You might see about modifying the HKEY_CLASSES_ROOT\exefile\shell\open\command registry key. Change the (Default) value to myprog.exe "%1" %* and see if that works.


            "When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen

            A Offline
            A Offline
            Anonymous
            wrote on last edited by
            #5

            A big thank you to everyone! --bacon

            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