On my development machine, I often create new web instances that all run as NT AUTHORITY\NETWORK SERVICE. I want to grant this account rights to access all new databases that I create in the future in my SQL Server 2008 R2 instance. I want to do this because it is too much of a hassle to grant rights to new databases every time I create a new web site.
Asked
Active
Viewed 274 times
0
Dmytro Shevchenko
- 215
- 1
- 6
-
@Kin This works. Should I remove the question? – Dmytro Shevchenko Sep 17 '15 at 15:00
-
Please leave it .. no need to delete. Thanks ! – Kin Shah Sep 17 '15 at 15:24
1 Answers
1
Well - there is a bigger question regarding why you are using NT Authority\Network, but I asked a similar question ages ago Permissions on New Databases So in theory, it is fairly simple.
rottengeek
- 690
- 6
- 17
-
Thank you, I'm checking out the other question. Is there any problem with using
NETWORK SERVICEas the identity of my IIS application pools? – Dmytro Shevchenko Sep 17 '15 at 14:56