Protecting database connection string

When you connect using ODBC you have to provide credentials to connect to the DB. How do you protect from someone just reading the connection string once decompiled?