adobe / aepsdk-assurance-android

Adobe Experience Platform Assurance SDK
Apache License 2.0
2 stars 4 forks source link

Disable content and file access from WebView #115

Closed prudrabhat closed 3 months ago

prudrabhat commented 4 months ago

Description

Assurance SDK does not need the WebView to allow a file scheme URL to access other file scheme URLs. We do not setAllowFileAccess value explicitly to false. For applications targeting API 29 and below this defaults to true if not explicitly set. So set this flag to false to tighten access.

Assurance SDK does not need the WebView to access content data on the device. We do not explicitly set the setContentAccess value to false. Set this flag to false to tighten access.

Related Issue

Internal (MOB-20935, MOB-20934)

Motivation and Context

Some changes to ensure we tighten access from Assurance WebView.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist: