Hi,
My IIS7 installation has two websites running on it. From what I was given to understand, they're both running on their own application pools, each of which runs on its own Virtual Account by default.
Assuming my websites are called
MyWebsite1
and
MyWebsite2
and my computer is called
MyServer1
what would be the fully qualified names of the Virtual Accounts these two websites are running on, that I can use to refer to them from another machine?
Also, if I were to use this connection string to connect to a SQL Server instance on the network from either of my two websites, would the Integrated Security feature work with these Virtual Accounts?
Dim connectionstring asstring="Data Source=MyServer2\SQLEXPRESS; initial catalog=My_Database; Integrated Security=True; Connection Timeout=3600"
If it works, would the connection granted to these Virtual Accounts be under a least priviledge model? Because as I understand, these Virtual Accounts themselves cannot access network resources, but they use the credentials of the local computer instead.
If not, can I use another minimum priviledge limited domain user account to connect to the database server that I've created for the purpose? If yes, what would my connectiong string look like?
I know that's a lot of nested if statements, but please bear with me. :D
Would appreciate the help. :)