1

Can command line arguments be masked or hidden instead of appearing in the process list?

view story
linux-howto

http://askubuntu.com – I have written a command line application in C++ that is used to access an online user account via a SOAP API. In order to avoid having any login details written to file anywhere on my machine for security purposes, I decided to write the application as taking the username and passwords as command line arguments. I then found that upon running a ps -aux command that those sensitive arguments are actually visible in the process list. Is there anyway that these can be masked? I am probably being overly sensitive about the security aspects here but I would like to avoid this data being accessible (HowTos)