Skip to content

Commit c35aa85

Browse files
Map: add CSP info about Azure (DevExpress#6860)
1 parent 01b67bf commit c35aa85

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

concepts/Common/Security Considerations/40 Content Security Policy/20 CSP Directives for Map Integrations.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
If you want to integrate DevExtreme UI components with [Google](https://developers.google.com/maps) and [Bing](https://www.microsoft.com/en-us/maps/choose-your-bing-maps-api) maps API, specify the following set of CSP directives:
1+
If you want to integrate DevExtreme UI components with [Google](https://developers.google.com/maps), [Azure](https://learn.microsoft.com/en-us/azure/azure-maps/), or [Bing](https://www.microsoft.com/en-us/maps/choose-your-bing-maps-api) maps API, specify the following set of CSP directives:
22

33
<!--HTML-->
44
// Bing maps
@@ -19,3 +19,13 @@ If you want to integrate DevExtreme UI components with [Google](https://develope
1919
style-src 'unsafe-inline' 'self' https://*.googleapis.com/ https://*.gstatic.com;
2020
img-src 'self' data: https://*.googleapis.com/ https://*.gstatic.com;"
2121
/>
22+
// Azure maps
23+
<meta
24+
http-equiv="Content-Security-Policy"
25+
content="default-src 'self' https://atlas.microsoft.com;
26+
script-src 'self' 'unsafe-eval' 'unsafe-inline' blob: https://atlas.microsoft.com;
27+
style-src 'unsafe-inline' https://atlas.microsoft.com/;
28+
img-src data: blob:;
29+
connect-src https://js.monitor.azure.com https://atlas.microsoft.com;
30+
"
31+
/>

0 commit comments

Comments
 (0)