אבטחת תעבורה של אפליקציות
אבטחת התעבורה באפליקציות (ATS) היא תכונת פרטיות שמאלצת חיבורים מאובטחים. היא מופעלת כברירת מחדל באפליקציות חדשות.
הודעת היומן הבאה מופיעה כשאפליקציה שלא תואמת ל-ATS מנסה להציג מודעה באמצעות HTTP:
אבטחת התעבורה של האפליקציה חסמה טעינת משאב HTTP (http://) בטקסט ללא הצפנה כי הוא לא מאובטח. אפשר להגדיר חריגים זמניים בקובץ Info.plist
של האפליקציה.
כדי להשבית את ההגבלות של ATS, מוסיפים את ההחרגות הבאות ל-Info.plist
של האפליקציה:
NSAllowsArbitraryLoadsForMedia
NSAllowsArbitraryLoadsInWebContent
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoadsForMedia</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
</dict>
המפתחות NSAllowsArbitraryLoadsForMedia
ו-NSAllowsArbitraryLoadsInWebContent
נדרשים כדי לוודא שהמודעות שלכם לא יושפעו מ-ATS.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-08 (שעון UTC).
[null,null,["עדכון אחרון: 2025-02-08 (שעון UTC)."],[[["App Transport Security (ATS) enforces secure connections and is enabled by default for new apps, blocking cleartext HTTP resource loads for enhanced security."],["To avoid ATS restrictions and ensure ad serving functionality, developers need to include `NSAllowsArbitraryLoadsForMedia` and `NSAllowsArbitraryLoadsInWebContent` exceptions within their app's `Info.plist` file."],["These exceptions allow media and web content to bypass ATS restrictions, preventing disruption to ad delivery."]]],["App Transport Security (ATS) enforces secure connections and is enabled by default. Non-compliant apps using HTTP trigger a log message indicating blocked insecure resource loads. To disable ATS restrictions for media and web content, add `NSAllowsArbitraryLoadsForMedia` and `NSAllowsArbitraryLoadsInWebContent` keys set to `true` within the app's `Info.plist` file, under the `NSAppTransportSecurity` dictionary. These exceptions are essential to prevent ads from being affected by ATS.\n"]]