I am working on a script where we are using sqlplus command to connect to Oracle DB. But the schemaname and password used for sqlplus authentication, have to be hardcoded in the script.
DBconnection=scott/tiger@SID
sqlplus $DBconnection
Here any user who reads the script can read the password of Oracle DB schema . Is there any way (apart from Oracle Wallet) we can hide the password from this script?
I tried creating a separate file having DBconnection variable defined inside it but its of no use as the user can source that file and read the variable's value.
Regards,
Abhishek