Project

General

Profile

Actions

New Feature #10821

closed

[Android] Allowed input methods policy

Added by Inosh Perara 9 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Medium
Assignee:
-
Start date:
06/03/2024
Due date:
07/03/2024
% Done:

100%

Estimated time:
16:00 h
Device Type:
Android
Component:
Type:
Android

Description

This will allow the admin to block the user from using any keyboard or input mechanism that is now pre approved. This will help to prevent data leaks via rogue input methods. Developed using the setPermittedInputMethods and getPermittedInputMethods1.

[1] https://developer.android.com/reference/android/app/admin/DevicePolicyManager?authuser=1#setPermittedInputMethods(android.content.ComponentName,%20java.util.List%3Cjava.lang.String%3E)


Files

inputs.png (149 KB) inputs.png Inosh Perara, 07/03/2024 06:07 AM
Screenshot from 2024-03-21 16-30-41.png (50.5 KB) Screenshot from 2024-03-21 16-30-41.png [1] Arshana Atapattu, 21/03/2024 11:43 AM
Screenshot_20240321-170536_Settings.jpg (164 KB) Screenshot_20240321-170536_Settings.jpg [2] Arshana Atapattu, 21/03/2024 11:50 AM
Screenshot_20240321-170914_Messages.jpg (106 KB) Screenshot_20240321-170914_Messages.jpg [3] Arshana Atapattu, 21/03/2024 11:50 AM
Screenshot_20240321-170922_Messages.jpg (108 KB) Screenshot_20240321-170922_Messages.jpg [4] Arshana Atapattu, 21/03/2024 11:50 AM

Updated by Arshana Atapattu 8 months ago

environment: Staging server(6..0.0)
Agent version: 4.05.00.10
OS: 11
Device: Samsung Galaxy M02

Applied 3rd option on device [1]
can install 3rd party keyboard app and use
( giving permission [2] ->' selecting keyboard [3] -> using keyboard [4])

policy payload [5]

[1]
[1]

[5] {"policyName":"Allowed inputs - user install","description":"Allowed inputs","active":true,"compliance":"enforce","ownershipType":null,"policyType":"GENERAL","profile":{"profileName":"Allowed inputs - user install","deviceType":"android","profileFeaturesList":[{"featureCode":"INPUT_METHODS","deviceType":"android","content":{"type":"allowCustom","packages":"lk.bhasha.helakuru"},"correctiveActions":[]}]},"deviceGroups":[{"id":59,"name":"Test Devices"}],"roles":["ANY"],"users":[]}

[2]
[2]

[3]
[3]

[4]
[4]

Actions #4

Updated by Arshana Atapattu 8 months ago

  • Status changed from QA Reject to QA Accept

This is working

Actions #5

Updated by Arshana Atapattu 8 months ago

  • Status changed from QA Accept to Closed

Closing due to QA accept

Actions

Also available in: Atom PDF