Forum Moderators: open
I am using a shared hosting which support ASP.NET and has a remote MS SQL server. For security reason, I'd like to use the SQL server built-in guest account to connect my database instead of using my login account. Is this possible? If yes, could someone please inform me what are the User Id and Password for the connection string? I am using the oledb connection and have tried
Conn=New OleDbConnection("Provider=SQLOLEDB;Data Source=<server ip> ; Initial Catalog=<my database>; User Id=guest; Password=")
and
Conn=New OleDbConnection("Provider=SQLOLEDB; Data Source=<server ip>;Initial Catalog=<my database>;กจ)
but none of the above works. Please advise, thanks.