in reply to Re: Re: Re: Re: Re: Question of safe data passing...
in thread Question of safe data passing...

Right... but how do you prevent any script on the system from asking for the DB settings?
                - Ant
  • Comment on Re: Re: Re: Re: Re: Re: Question of safe data passing...

Replies are listed 'Best First'.
'Re:'x7," Question of safe data passing..."
by frankus (Priest) on Apr 27, 2001 at 17:47 UTC

    This is where we came in, isn't it?

    How's about having a db table of all the permitted scripts and methods to retrieve this data and amend it?

    --
    
    Brother Frankus.
      There is no way that I have been able to find to definatetly tell which script on the system is being run... no official way to tell /usr/bin/cat from /home/ant/cat...
                      - Ant

        That is why I was thinking of a set-UID script/program that does nothing but get the secured password, run your script, and pass the password to it over a pipe.

        You aren't going to get security without set-UID as that is really the only way to stop the current user from being able to do exactly what you do in order to find the password.

        But you can isolate the set-UID to just a separate script/program that does nothing but what I outlined and is very careful including removing any privileges before it runs the specified script (which is specified in the same secured location as the DBI password).

                - tye (but my friends call me "Tye")