ऐप ट्रांसपोर्ट सिक्योरिटी
ऐप्लिकेशन ट्रांसपोर्ट सिक्योरिटी (एटीएस) एक निजता सुविधा है, जो सुरक्षित कनेक्शन लागू करती है. यह सुविधा, नए ऐप्लिकेशन के लिए डिफ़ॉल्ट रूप से चालू होती है.
एटीएस का पालन न करने वाला कोई ऐप्लिकेशन, एचटीटीपी का इस्तेमाल करके विज्ञापन दिखाने की कोशिश करने पर, लॉग में यह मैसेज दिखता है:
ऐप्लिकेशन ट्रांसपोर्ट सिक्योरिटी ने क्लियरटेक्स्ट एचटीटीपी (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-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"]]