Create a user account that is tied to read-only webdirect access and then set the auto-login for the database to be that user.
Then just link directly to your database, like:
ah true, monday morning pre-coffee answers.
Another way to do it would be using a custom dialog to login. So in addition to my earlier instructions, you would add an "OnFirstWindowOpen" script with something like:
Allow User Abort [Off]
Show Custom Dialog [ "Login" ; Input 1: globaltable::globaluser ; Input 2: globaltable::globalpass - password mask ]
If [ Get(LastMessageChoice) = 2 ]
Exit Application //User Cancelled Login
Relogin [ globaltable::globaluser ; globaltable::globalpass ]
Exit Loop If [ Get(AccountName) <> "AutoLoginAccountName" ]
The above would allow a user to cancel login and exit the system, or continue out of the loop if they were able to relogin successfully.