Thanks for the response greg252.
The script is to be called as a cron job every 24 hours, so password need to be permanently accessible to it. Also the box is located with our ISP and is accessed by other users which is why I'm paranoid about nosey peeps.
I guess I can block access to it with permissions (i.e. chmod 750), I just wondered if there was an established solution for dealing with this sort of situation.