Password encryption in RHEL

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

you could put the required details in an envrypted file and decrpt it in the script (gpg would be useful here), however the user who can read the script is going to be able to follow the steps to decrypt.

Would it be possible to grant read only permissions, (or whatever permission is required), on the schema to an Oracle user and use that user in the script?