How can I allow unknown users to access my SQL (Azure) DB?

后端 未结 5 1308
清歌不尽
清歌不尽 2020-12-23 12:59

Apparently one must explicitly specify (whitelist) the IP addresses that will be allowed access to a SQL Azure DB. I want, though, to have N-gazillion* users that will acces

5条回答
  •  悲哀的现实
    2020-12-23 13:39

    How will your users be accessing the DB, via a Web App (front end) or directly (I assume you won't give users direct access to your DB?), if its via a Web App (presentation layer) then all you need todo is grant access to this IP address of the presentation layer/service layer (and if hosted in Azure its beside it).

    SQL DB Azure has two types of access restrictions (more info here) "Windows Azure SQL Database Firewall"

    • Server-level firewall rules:
    • Database-level firewall rules

    You could either open up all IP address 0.0.0.0 - 255.255.255.255 (not very secure) or come up with more finer grained policies based on the above Database firewall rules.

提交回复
热议问题