diff options
author | 2025-02-04 02:48:20 +0000 | |
---|---|---|
committer | 2025-02-03 22:34:56 -0800 | |
commit | a4919a563a38b2f28cf77b5cc3a8b1fb89b3d271 (patch) | |
tree | 3e08ae9c9237995bd5839cbd4d3ee2702b0a4494 /api/api.go | |
parent | 76b5b552d4bf6d7b13d8561a238023013fc4a2bd (diff) |
Restrict the permission for accessing vpn profile
These vpn profile accessing methods are designed for priviledge
or the owner apps, and they should not be accessible for any
app without correct permission. As these methods are not yet
fully depolyed, restrict these methods with NETWORK_STACK or
PERMISSION_MAINLINE_NETWORK_STACK permission to prevent them
from being accessed from the unexpected apps.
Bug: 341046194
Bug: 341253275
Flag: EXEMPT bugfix
Test: atest VpnManagerServiceTest
Test: Enable vpn from a vpn app and accessing API without
corresponding permission from other apps. Verify
result by accessing these hidden methods.
Change-Id: If6fd058f40da88a4801b59187631e0c68b236ff5
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions