أمان نقل التطبيقات
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
أمان نقل التطبيقات
(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-08-27 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-27 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\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."]]