Hello Guys,
I'm after some advice on securing my SQL Server 2005 databases a little bit and thought speaking with you would be a good place to start. I'm running SQL2005 Standard on a Windows 2003 Standard box, and the only connections the DB really needs to recieve are from my ColdFusion applications, which again are hosted on the same box.
Firsly, what type of security is best for the server? I'm running with SQL Server Authentication at the moment oposed to Windows Authentication, is that the right way to have it set up? Generaly for working on the sever i'll log in through the sa account, but I'd imagine this is also not a wise move, I like to hear your thoughts on how that should be changed.
I also need to get some user accounts setup for my ColdFusion server to be able to make connections to the different databases, but these users need to have the real minimum of rights, they will need to run stored proceedures which do all the work, the stored procs esentialy contain all the basic CRUD methods and a couple have BULK INSERTS.
The users will not need any permissions above that, they dont create or drop tables, they dont add users or anything like that, just simple read and writes.
How do I best set those up on the server?
Another thing to note is that I keep getting heaps of logs in my windows event viewer of failed login attempts to my SQL Server, I mean, we're talking 5 or 6 a second in peak times, So i'd really like to cut it off from the outside world if thats possible? I dont have a dedicated firewall so whatever solution we chose for that it'll have to be somthing softwarish! I'm sure I remember reading that you can disable TCP-IP ports for the server.
Thanks guys for any advice, Keep in mind I'm a bit of a noob with db admin, so be gentle.
Rob
I'm after some advice on securing my SQL Server 2005 databases a little bit and thought speaking with you would be a good place to start. I'm running SQL2005 Standard on a Windows 2003 Standard box, and the only connections the DB really needs to recieve are from my ColdFusion applications, which again are hosted on the same box.
Firsly, what type of security is best for the server? I'm running with SQL Server Authentication at the moment oposed to Windows Authentication, is that the right way to have it set up? Generaly for working on the sever i'll log in through the sa account, but I'd imagine this is also not a wise move, I like to hear your thoughts on how that should be changed.
I also need to get some user accounts setup for my ColdFusion server to be able to make connections to the different databases, but these users need to have the real minimum of rights, they will need to run stored proceedures which do all the work, the stored procs esentialy contain all the basic CRUD methods and a couple have BULK INSERTS.
The users will not need any permissions above that, they dont create or drop tables, they dont add users or anything like that, just simple read and writes.
How do I best set those up on the server?
Another thing to note is that I keep getting heaps of logs in my windows event viewer of failed login attempts to my SQL Server, I mean, we're talking 5 or 6 a second in peak times, So i'd really like to cut it off from the outside world if thats possible? I dont have a dedicated firewall so whatever solution we chose for that it'll have to be somthing softwarish! I'm sure I remember reading that you can disable TCP-IP ports for the server.
Thanks guys for any advice, Keep in mind I'm a bit of a noob with db admin, so be gentle.
Rob