<!-- Good default declaration:
* gap: is required only on iOS (when using UIWebView) and is needed for JS->native communication
* https://ssl.gstatic.com is required only on Android and is needed for TalkBack to function properly
* Disables use of eval() and inline scripts in order to mitigate risk of XSS vulnerabilities. To change this:
* Enable inline JS: add 'unsafe-inline' to default-src
* Enable eval(): add 'unsafe-eval' to default-src
-->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' data: gap: https://ssl.gstatic.com; style-src 'self' 'unsafe-inline'; media-src *">
<!-- Allow requests to foo.com -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' foo.com">
<!-- Enable all requests, inline styles, and eval() -->
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
<!-- Allow XHRs via https only -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self' https:">
<!-- Allow iframe to https://cordova.apache.org/ -->
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; frame-src 'self' https://cordova.apache.org">
Notice
Recent Posts
Recent Comments
Link
웁스교교주의 이야기
meta 태그 권한 종류-cordova 본문
'개발 > Cordova' 카테고리의 다른 글
[Cordova] ios 11 관련 StatusBarOverlaysWebView 설정 (0) | 2017.10.31 |
---|---|
[cordova] Gradle sync failed: Could not find com.android.tools.build:gradle:2.2.3. (0) | 2017.10.16 |
[android] 서명되지 않은 apk 파일을 업로드 했습니다. --- 에러.. (0) | 2017.04.17 |
[cordova] .setColor error (0) | 2017.02.27 |
cordova[phonegap] 명령어 정리 (0) | 2017.02.27 |