• BlackBerry Dynamics
  • Runtime library for Android applications
  • 7.1.0.192
Package com.good.gd.widget

Secure Cut-Copy-Paste Operations. More...

Description

An end user can copy and move text within a mobile application, and between mobile applications, by using cut-copy-paste operations. The BlackBerry Dynamics runtime can secure these operations for and between BlackBerry Dynamics applications. Operations between BlackBerry Dynamics applications and other applications cannot be secured by the runtime, but can be blocked.

The runtime secures text by encrypting it when it is cut or copied to the device clipboard, and then decrypting it when it is pasted from the clipboard. Encryption of data in the clipboard buffer implicitly blocks the data from being pasted by an application that cannot decrypt the data.

Application Restrictions

The application code must observe the following restrictions in order to enable the runtime to secure or block cut-copy-paste operations.

Data Leakage Prevention Policy Settings

There are a number of policies for data leakage prevention (DLP) that may be set at an enterprise.

DLP Outbound. This policy setting specifies that data copied from within the application can only be pasted into:

  • The same application.
  • Another BlackBerry Dynamics application that was activated for the same end user in the same BlackBerry Dynamics deployment.

DLP Inbound. This policy setting specifies that data can only be pasted into the application from:

  • Within the same application.
  • Another BlackBerry Dynamics application that was activated for the same end user in the same BlackBerry Dynamics deployment.

Prevent Screen Capture. This policy setting specifies that screen capture isn't allowed. See the Screen Capture Control page for details.

Block Android Dictation. This policy setting specifies that the Android voice input feature cannot be used to enter text.

Single DLP. This is a policy setting from earlier versions of BlackBerry Dynamics and legacy Good Dynamics. It has the same meaning as a combination of DLP Outbound and Prevent Screen Capture, above. Good Control management console software before Good Dynamics 2.0 only had this setting, not separate DLP settings.

Each of these policy settings can be switched on or switched off. The current settings can be checked in the GDAndroid.getApplicationConfig collection.

Automatic Enforcement

The classes in this package enforce DLP policy settings automatically, as follows.

  • Classes other than GDWebView enforce the following policies, if switched on:
    • DLP Outbound, or Single DLP, depending on managment console version.
    • DLP Inbound.
    • Android Dictation.
  • The GDWebView class:
    • Blocks copying data, if DLP Outbound is switched on.
    • Is treated as an external source, if DLP Inbound is switched on. Data copied from a GDWebView control cannot be pasted into the same application, nor into another application activated by the same end user, if DLP Inbound is switched on.

If the relevant DLP policies are switched off, then instances of the classes in this package behave like the native equivalents.

Similar Features

There are a number of features that can result in data being shared between applications in a way that is similar to a cut-copy-paste operation. These features work differently in this package, as follows.

  • In classes other than GDWebView, the Android Smart Text Selection feature is blocked if DLP Outbound is switched on. (Smart Text Selection doesn't apply to GDWebView.)
  • Text data is blocked from being made available to the Android Autofill Framework. Also, text fields in this package are blocked from being populated by the Android Autofill Framework. Both of these blocks apply regardless of DLP settings.

Classes

class  GDAutoCompleteTextView
 Replacement for native widget class. More...
 
class  GDEditText
 Replacement for native widget class. More...
 
class  GDEditTextPreference
 Replacement for native widget class. More...
 
class  GDMultiAutoCompleteTextView
 Replacement for native widget class. More...
 
class  GDSearchView
 Replacement for native widget class. More...
 
class  GDTextView
 Replacement for native widget class. More...
 
class  GDWebView
 Replacement for native widget class. More...