[ Web Proxy ]
URL:
Viewing: https://source.android.com/docs/security/best-practices/network [Back]  [Original]

Network security best practices  |  Android Open Source Project Skip to main content
Android Open Source Project [Android Open Source Project]

Network security best practices Stay organized with collections Save and categorize content based on your preferences.

This section contains recommendations to ensure the security of network communications from Android devices.

Secure listening sockets

Use listening sockets with caution. There should generally not be any open listening sockets on devices as these provide a vector for a remote attacker to gain access to the device.

The Android Compatibility Test Suite (CTS) includes tests that check for the presence of open listening ports.

Disable adb

Android Debug Bridge (adb) is a valuable development and debugging tool, but is designed for use in a controlled, secure environment and shouldn't be enabled for general use.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2024-09-24 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-24 UTC."],[],[]]

Web Proxy Viewer  |  New URL  |  Original Page