You can specify usernames/passwords when creating DB connections. This is standard practice, anonymous access to the website, and a special read-only DB account to read fro the database. See for example DBConnOpen() - Open a connection to a database using ADODB and http://www.connectionstrings.com
_________________________
There are two types of vessels, submarines and targets.