אבטחת תעבורה של אפליקציות
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
App Transport Security
(ATS)
היא תכונת פרטיות שמחייבת חיבורים מאובטחים. היא מופעלת כברירת מחדל באפליקציות חדשות.
הודעת היומן הבאה מופיעה כשניסיון להציג מודעה באמצעות HTTP מתבצע על ידי אפליקציה שלא תואמת ל-ATS:
התכונה App Transport Security חסמה טעינה של משאב 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-08-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-08-27 (שעון UTC)."],[[["\u003cp\u003eApp Transport Security (ATS) enforces secure connections by default and may block ads served over HTTP.\u003c/p\u003e\n"],["\u003cp\u003eIf your app is impacted, add \u003ccode\u003eNSAllowsArbitraryLoadsForMedia\u003c/code\u003e and \u003ccode\u003eNSAllowsArbitraryLoadsInWebContent\u003c/code\u003e exceptions to your \u003ccode\u003eInfo.plist\u003c/code\u003e file to disable ATS restrictions for media and web content, ensuring your ads are delivered.\u003c/p\u003e\n"]]],[],null,["# App Transport Security\n\n[App Transport Security\n(ATS)](//developer.apple.com/library/prerelease/ios/technotes/App-Transport-Security-Technote/)\nis a privacy feature that enforces secure connections. It's enabled by default\nfor new apps.\n\nThe following log message appears when a non-ATS compliant app attempts to serve\nan ad using HTTP:\n\u003e App Transport Security has blocked a cleartext HTTP (http://)\n\u003e resource load since it is insecure. Temporary exceptions can be\n\u003e configured in your app's `Info.plist` file.\n\nTo disable ATS restrictions, add the following exceptions to your app's\n`Info.plist`:\n\n- `NSAllowsArbitraryLoadsForMedia`\n- `NSAllowsArbitraryLoadsInWebContent`\n\n \u003ckey\u003eNSAppTransportSecurity\u003c/key\u003e\n \u003cdict\u003e\n \u003ckey\u003eNSAllowsArbitraryLoadsForMedia\u003c/key\u003e\n \u003ctrue/\u003e\n \u003ckey\u003eNSAllowsArbitraryLoadsInWebContent\u003c/key\u003e\n \u003ctrue/\u003e\n \u003c/dict\u003e\n\nThe `NSAllowsArbitraryLoadsForMedia` and `NSAllowsArbitraryLoadsInWebContent`\nkeys are required to make sure your ads are not impacted by ATS."]]