- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
It is recommended to set the remote access
database flag for Cloud SQL SQL Server instances to off
.
The remote access option controls the execution of stored procedures from local or remote servers on which instances of SQL Server are running. The default value for this option is 1. This grants permission to run local stored procedures from remote servers or remote stored procedures from the local server. To prevent local stored procedures from being run from a remote server or remote stored procedures from being run on the local server, this must be disabled. Remote access functionality can be abused to launch a Denial-of-Service (DoS) attack on remote servers by off-loading query processing to a target, so it should be disabled. This recommendation is applicable to SQL Server database instances.
Setting custom flags through the command line on certain instances causes all omitted flags to be reset to defaults. This may cause you to lose custom flags and could result in unforeseen complications or instance restarts. Because of this, it is recommended you apply these flag changes during a period of low usage.
Edit
.Flags
section.Add item
, choose the flag remote access
from the drop-down menu, and set its value to off
.Save
to save your changes.Flags
on the Overview page.Configure the remote access database flag for every Cloud SQL SQL Server database instance using the following command:
gcloud sql instances patch <INSTANCE_NAME> --database-flags "remote access=off"
This command overwrites all database flags previously set. To keep those and add new ones, include the values for all flags you want set on the instance; any flag not specifically included is set to its default value. For flags that do not take a value, specify the flag name followed by an equals sign ("=").
Remote access is on
by default.
Configuring the remote access database flag does not restart the Cloud SQL instance.
Version 8 - 4.8 Uninstall or Disable Unnecessary Services on Enterprise Assets and Software
Version 7 - 9.2 Ensure Only Approved Ports, Protocols and Services Are Running