Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Completely disable remote access to SQL Server

I'm on the panic-mode. Today, when navigating to my website, I saw the website was down because of SQL Server timeouts (after an attack with million of login attempts.) ASP.Net pages can't be processed, because SQL Server requests just don't work.

Is there an on/off button for remote access in SQL Server 2008? I saw a lot of vague threads about adding firewall rules. I will never need to remotely access SQL Server, so I don't need to filter access, I just need to limit it to 127.0.0.1. Is this feasible?

like image 406
Léon Pelletier Avatar asked Aug 16 '12 14:08

Léon Pelletier


People also ask

How do I restrict access to SQL Server database?

Use SQL Server Management StudioRight-click the database to change, and then select Properties. In the Database Properties dialog box, select the Options page. From the Restrict Access option, select Single. If other users are connected to the database, an Open Connections message will appear.

Can SQL Express be accessed remotely?

Once you have SQL Express set up on your local computer, you can allow remote connections for members of your network.


1 Answers

Under Server Properties/Connections you can uncheck the

"Allow remote connections"

box.

like image 186
davek Avatar answered Sep 20 '22 02:09

davek