When you use SQLA tools like e.g. dbupdate or similar, to automate specific tasks, how can you use the -c parameter without showing the password? Or exists any alternative approach which hides the password from the command line? |
AFAIK, all (or at least most) utilities support the @data command line parameter in conjunction with configuration files for that use:
(Note, AFAIK DBFHide itself does usually just obfuscate the files - unless you run it on Windows with -w or -wm.) Another (possibly preferred) approach for scheduled tasks would be to rely on scheduled events that can run on their own without explicit credentials. That way the server can itself do backups and the like. |