Pixilab
Home › Companies › Show HN launch › How I bypassed Exchange security on Android

How I bypassed Exchange security on Android

Show HN: How I bypassed Exchange security on Android

Operating in show hn launch, How I bypassed Exchange security on Android operates.

Profile

I was messing around with AOSPA, wanted to figure out a way to bypass the encryption requirement to get exchange mails. Initially I thought I would have to modify the Email app or the part where the OS the administrative provisioning. But as it turns out all I had to do was comment out 8 lines of code private int getEncryptionStatus() { /*String status = SystemProperties.get("ro.crypto.state", "unsupported"); if ("encrypted".equalsIgnoreCase(status)) { return DevicePolicyManager.ENCRYPTION_STATUS_ACTIVE; } else if ("unencrypted".equalsIgnoreCase(status)) { return DevicePolicyManager.ENCRYPTION_STATUS_INACTIVE; } else { return DevicePolicyManager.ENCRYPTION_STATUS_UNSUPPORTED; }*/ return Devi

How I bypassed Exchange security on Android is positioned in show hn launch, a segment that rewards a clear, focused offering.

Directory data places it at the Show HN launch stage.

SectorShow HN launch
StageShow HN launch

Website: android.googlesource.com/platform/frameworks/base/+/master/services/java/com/android/server/DevicePolicyManagerService.java

Browse related

Emails and contact routes are reserved for registered members.
Create a free account