ऐप ट्रांसपोर्ट सिक्योरिटी
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
ऐप्लिकेशन ट्रांसपोर्ट सिक्योरिटी (एटीएस) एक निजता सुविधा है. यह सुरक्षित कनेक्शन को लागू करती है. यह सुविधा, नए ऐप्लिकेशन के लिए डिफ़ॉल्ट रूप से चालू होती है.
एचटीटीपी का इस्तेमाल करके विज्ञापन दिखाने की कोशिश करने वाले, एटीएस के मुताबिक काम न करने वाले ऐप्लिकेशन के लिए, यह लॉग मैसेज दिखता है:
App Transport Security ने क्लियरटेक्स्ट एचटीटीपी (http://) रिसॉर्स को लोड होने से रोक दिया है, क्योंकि यह सुरक्षित नहीं है. कुछ समय के लिए छूट देने की सुविधा को, आपके ऐप्लिकेशन की Info.plist
फ़ाइल में कॉन्फ़िगर किया जा सकता है.
एटीएस से जुड़ी पाबंदियां बंद करने के लिए, अपने ऐप्लिकेशन के Info.plist
में ये अपवाद जोड़ें:
NSAllowsArbitraryLoadsForMedia
NSAllowsArbitraryLoadsInWebContent
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoadsForMedia</key>
<true/>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
</dict>
NSAllowsArbitraryLoadsForMedia
और NSAllowsArbitraryLoadsInWebContent
कुकी की ज़रूरत इसलिए होती है, ताकि यह पक्का किया जा सके कि एटीएस का असर आपके विज्ञापनों पर न पड़े.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 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."]]