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. Other Discussions
  3. The Weird and The Wonderful
  4. Enhanced Password Security

Enhanced Password Security

Scheduled Pinned Locked Moved The Weird and The Wonderful
hardwaresecuritysalesquestionlounge
6 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.
  • B Offline
    B Offline
    Bernhard Hiller
    wrote on last edited by
    #1

    The other day, a customer complained that we - sometimes, but not always - wrote the password of their Hospital Information System (HIS) in our log files in clear text. Heh? Just another customer telling us bullshit!? Alahs, right he is. When our application starts, it logs some general information, e.g. hardware, OS, and Environment Variables. And in the section of the Environment Variables, sometimes there was an entry like HIS_PWD=CUSTOMERS_HIS_PASSWORD The customer found then out that it did not happen when he started our application from the start menu or from its desktop item. It only happened when he started it from the HIS (as the doctors normally do: the HIS can provide us with context information like the patient the doctor is working on). Well, a process inherits the environment from the process it was started from, including all its Environment Variables. Do you see what happened here? It's really a great idea to store the clear-text password as an environment variable, it is absolutely safe there.

    Kornfeld Eliyahu PeterK L T P 4 Replies Last reply
    0
    • B Bernhard Hiller

      The other day, a customer complained that we - sometimes, but not always - wrote the password of their Hospital Information System (HIS) in our log files in clear text. Heh? Just another customer telling us bullshit!? Alahs, right he is. When our application starts, it logs some general information, e.g. hardware, OS, and Environment Variables. And in the section of the Environment Variables, sometimes there was an entry like HIS_PWD=CUSTOMERS_HIS_PASSWORD The customer found then out that it did not happen when he started our application from the start menu or from its desktop item. It only happened when he started it from the HIS (as the doctors normally do: the HIS can provide us with context information like the patient the doctor is working on). Well, a process inherits the environment from the process it was started from, including all its Environment Variables. Do you see what happened here? It's really a great idea to store the clear-text password as an environment variable, it is absolutely safe there.

      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu PeterK Offline
      Kornfeld Eliyahu Peter
      wrote on last edited by
      #2

      What a great idea! I'm on my way to a meeting - I will drop it in as my idea of safe development and then go to sleep. It will take hours to them to figure out how to eat it...

      I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)

      "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

      1 Reply Last reply
      0
      • B Bernhard Hiller

        The other day, a customer complained that we - sometimes, but not always - wrote the password of their Hospital Information System (HIS) in our log files in clear text. Heh? Just another customer telling us bullshit!? Alahs, right he is. When our application starts, it logs some general information, e.g. hardware, OS, and Environment Variables. And in the section of the Environment Variables, sometimes there was an entry like HIS_PWD=CUSTOMERS_HIS_PASSWORD The customer found then out that it did not happen when he started our application from the start menu or from its desktop item. It only happened when he started it from the HIS (as the doctors normally do: the HIS can provide us with context information like the patient the doctor is working on). Well, a process inherits the environment from the process it was started from, including all its Environment Variables. Do you see what happened here? It's really a great idea to store the clear-text password as an environment variable, it is absolutely safe there.

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

        It's already wrong that you know the password; should have been a hash. And yes, this is the reason why I oppose linking medical systems.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

        1 Reply Last reply
        0
        • B Bernhard Hiller

          The other day, a customer complained that we - sometimes, but not always - wrote the password of their Hospital Information System (HIS) in our log files in clear text. Heh? Just another customer telling us bullshit!? Alahs, right he is. When our application starts, it logs some general information, e.g. hardware, OS, and Environment Variables. And in the section of the Environment Variables, sometimes there was an entry like HIS_PWD=CUSTOMERS_HIS_PASSWORD The customer found then out that it did not happen when he started our application from the start menu or from its desktop item. It only happened when he started it from the HIS (as the doctors normally do: the HIS can provide us with context information like the patient the doctor is working on). Well, a process inherits the environment from the process it was started from, including all its Environment Variables. Do you see what happened here? It's really a great idea to store the clear-text password as an environment variable, it is absolutely safe there.

          T Offline
          T Offline
          Trajan McGill
          wrote on last edited by
          #4

          Ugh. I don't know what software this is, but as far as I can tell, the way they design hospital software is to take the biggest, worst, most horrifying Microsoft Access application you've ever encountered, the sort that happens when someone who wasn't a programmer discovered Access and built a giant, awful system on it and kept at it for a decade, and then model your new medical records application on that.

          P 1 Reply Last reply
          0
          • T Trajan McGill

            Ugh. I don't know what software this is, but as far as I can tell, the way they design hospital software is to take the biggest, worst, most horrifying Microsoft Access application you've ever encountered, the sort that happens when someone who wasn't a programmer discovered Access and built a giant, awful system on it and kept at it for a decade, and then model your new medical records application on that.

            P Offline
            P Offline
            PIEBALDconsult
            wrote on last edited by
            #5

            Trajan McGill wrote:

            Microsoft Access

            Worse, some use Cache. X|

            You'll never get very far if all you do is follow instructions.

            1 Reply Last reply
            0
            • B Bernhard Hiller

              The other day, a customer complained that we - sometimes, but not always - wrote the password of their Hospital Information System (HIS) in our log files in clear text. Heh? Just another customer telling us bullshit!? Alahs, right he is. When our application starts, it logs some general information, e.g. hardware, OS, and Environment Variables. And in the section of the Environment Variables, sometimes there was an entry like HIS_PWD=CUSTOMERS_HIS_PASSWORD The customer found then out that it did not happen when he started our application from the start menu or from its desktop item. It only happened when he started it from the HIS (as the doctors normally do: the HIS can provide us with context information like the patient the doctor is working on). Well, a process inherits the environment from the process it was started from, including all its Environment Variables. Do you see what happened here? It's really a great idea to store the clear-text password as an environment variable, it is absolutely safe there.

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #6

              Hee hee!! I just stored a plain text password in an environment variable this morning! :laugh: Only temporarily and I have since rebooted. The password in question is generally protected inside an SSIS parameter file, but I wanted it closer to hand. P.S. I had to keep it close to hand again today, but instead of doing SET PWD=pa$$w0rd I did pa$$w0rd=PWD for greater security! :laugh:

              You'll never get very far if all you do is follow instructions.

              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