Use the ocs.cfg and libtcl.cfg files to configure security options.
For a connection, use ocs.cfg to set directory and security properties. Edit libtcl.cfg to load security and directory service drivers.
In the ocs.cfg file, add an entry
for the application name so you can set that driver-specific option.
To encrypt passwords, use the encryptPassword DSN option. For example:
DBI- >connect("dbi:SybaseASE:server=mumbles;encryptPassword =1", $user, $pwd);