The normal way to do this is to set the database Default and Anonymous access to No Access.
With Domino 1.5b3 and later, add "&Login=1" to a Domino URL. This will force the user to log in before allowing access to a database (without requiring you to set Default and Anonymous access to No Access).