connection string

A text value that tells a database client where the database is and how to log in, such as Data Source=catalog.db.

A leaked connection string can give direct access to the database.

In more detail

Its exact format depends on the database provider. It often contains a password, so keep real ones out of source control and supply them through user secrets or the deployment environment.

Related terms

Taught in

References