<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jorge Dias Jr</title>
    <description>The latest articles on DEV Community by Jorge Dias Jr (@jorgeluiznim).</description>
    <link>https://dev.to/jorgeluiznim</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4136565%2F48278072-88a8-4016-9e35-5855dc000db9.jpg</url>
      <title>DEV Community: Jorge Dias Jr</title>
      <link>https://dev.to/jorgeluiznim</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jorgeluiznim"/>
    <language>en</language>
    <item>
      <title>Media Encryption &amp; Port Protection Deep Dive: USB Control, Encryption &amp; Device Authorization</title>
      <dc:creator>Jorge Dias Jr</dc:creator>
      <pubDate>Tue, 22 Sep 2026 00:02:24 +0000</pubDate>
      <link>https://dev.to/jorgeluiznim/media-encryption-port-protection-deep-dive-usb-control-encryption-device-authorization-3oml</link>
      <guid>https://dev.to/jorgeluiznim/media-encryption-port-protection-deep-dive-usb-control-encryption-device-authorization-3oml</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This article is part of my Harmony Endpoint Deep Dives series, originally published on Check Point CheckMates. It is written for a cloud-managed deployment (Infinity Portal / Web Management); where an on-premises Management Server behaves differently, that is called out.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Purpose
&lt;/h2&gt;

&lt;p&gt;The USB port is one of the easiest ways data walks out of a company, and one of the easiest ways malware walks in. This article dissects Media Encryption &amp;amp; Port Protection (ME&amp;amp;PP): the write-action encryption modes, storage vs peripheral device control, device exceptions with wildcards, offline access, device scanning and authorization, media lockout, and the UUID "Site" trust model that decides who can open an encrypted stick.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two Kinds of Devices
&lt;/h2&gt;

&lt;p&gt;ME&amp;amp;PP protects sensitive information by encrypting data and requiring authorization to access devices. Everything starts with a distinction:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Definition&lt;/th&gt;
&lt;th&gt;Can encrypt?&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Storage Device&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Removable media users can save data files to: USB storage, SD cards, CD/DVD, external drives&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Peripheral Device&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Devices users &lt;strong&gt;cannot&lt;/strong&gt; save data to (keyboard, mouse, modem, Bluetooth, Wi-Fi, etc.)&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Rules are built in the Web Management console (&lt;strong&gt;Policy &amp;gt; Data Protection &amp;gt; General &amp;gt; Capabilities and Exclusion &amp;gt; Media Encryption&lt;/strong&gt;) and cover: read/write defaults, storage access, device access, which file types to encrypt, offline access, and user overrides. Device-level exceptions can be imported and exported as &lt;strong&gt;JSON&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Write Actions: the Core of Data Protection
&lt;/h2&gt;

&lt;p&gt;The write action decides what happens when a user copies a file to a USB stick. Five predefined options:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Write Action&lt;/th&gt;
&lt;th&gt;Behavior&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Allow writing any data&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;All file types written freely&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Encrypt business related data&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Business-related file types must go to encrypted storage; non-business files can be unencrypted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Encrypt all data&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Every file (business + non-business) must be encrypted&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Do not allow writing any data&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No writes at all&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;...allow user override&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Blocked by default, but UserCheck lets the user override with a justification&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;What counts as "business-related" (encrypted by default): Word, Spreadsheet, Presentation, Database, Drawing, Graphic, Viewer, Archive, Markup, Email, Text. Not business-related by default: Multimedia, Image, Executable. You cannot edit the predefined groups, but you can create custom ones.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Encrypt business related data&lt;/em&gt; is the sweet spot for most organizations. Confidential documents are forced into encryption while personal photos and music stay usable, so users do not fight the policy.&lt;/p&gt;

&lt;h2&gt;
  
  
  The UUID "Site" Trust Model: Who Can Open the Stick
&lt;/h2&gt;

&lt;p&gt;Each management instance is a &lt;strong&gt;Site&lt;/strong&gt; with a &lt;strong&gt;UUID&lt;/strong&gt;. When a device is encrypted, that Site's UUID is written to it. When someone plugs the encrypted device in elsewhere, ME&amp;amp;PP compares the device's UUID against the connected Site (and any trusted Sites):&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    A[Encrypted device attached] --&amp;gt; B{Device UUID vs connected Site}
    B --&amp;gt;|Same Site that encrypted it| C[Access with a password]
    B --&amp;gt;|A different TRUSTED Site| D[Access with a password]
    B --&amp;gt;|A non-trusted Site| E[No access]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;The controlling setting is the &lt;strong&gt;Site action&lt;/strong&gt; (enabled by default): &lt;em&gt;Allow access to storage devices encrypted at current site only&lt;/em&gt; means clients open only media encrypted by the same Site. This is what stops an encrypted USB from being opened on a random unmanaged machine, and what lets you deliberately share media across trusted Sites.&lt;/p&gt;

&lt;p&gt;For machines with no ME&amp;amp;PP (or offline), the &lt;strong&gt;Explorer Utility&lt;/strong&gt; can be copied onto the device so encrypted data is still readable with a password.&lt;/p&gt;

&lt;h2&gt;
  
  
  Peripheral Device Access (Port Protection)
&lt;/h2&gt;

&lt;p&gt;For devices that cannot store data, you control the ports directly:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Predefined action&lt;/th&gt;
&lt;th&gt;Effect&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Allow essential devices only&lt;/strong&gt; (keyboard, mouse, network adapters)&lt;/td&gt;
&lt;td&gt;Everything else blocked&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;strong&gt;Block all transmitting devices&lt;/strong&gt; (Modem, Bluetooth, IrDA, Wi-Fi)&lt;/td&gt;
&lt;td&gt;Everything else allowed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Allow all peripheral devices&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No port restriction&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Custom actions set per-device Access Type (Allow/Block) and Log.&lt;/p&gt;

&lt;h2&gt;
  
  
  Device Exceptions &amp;amp; Wildcards
&lt;/h2&gt;

&lt;p&gt;You rarely apply one rule to every USB stick. Exceptions target a device by serial number, a model (device ID), a device type, or a user-defined group. Serial numbers accept wildcards:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;*&lt;/code&gt; matches one or more characters, &lt;code&gt;?&lt;/code&gt; matches exactly one character&lt;/li&gt;
&lt;li&gt;Example: &lt;code&gt;1234*&lt;/code&gt; matches &lt;code&gt;1234ABC&lt;/code&gt;, &lt;code&gt;1234XYZ&lt;/code&gt;, and &lt;code&gt;1234567&lt;/code&gt; (the &lt;code&gt;1234&lt;/code&gt; prefix followed by at least one more character). It does not match &lt;code&gt;1233&lt;/code&gt;, nor &lt;code&gt;1234&lt;/code&gt; on its own.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Precedence (enforced in this order):&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Serials containing &lt;code&gt;*&lt;/code&gt; first&lt;/li&gt;
&lt;li&gt;Serials containing &lt;code&gt;?&lt;/code&gt; next&lt;/li&gt;
&lt;li&gt;Exact serials (no wildcard) last&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Example evaluation order: &lt;code&gt;12345*&lt;/code&gt;, then &lt;code&gt;123456*&lt;/code&gt;, then &lt;code&gt;123????&lt;/code&gt;, then &lt;code&gt;123456?&lt;/code&gt;, then &lt;code&gt;1234567&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The &lt;strong&gt;Device ID Filter&lt;/strong&gt; matches by prefix: &lt;code&gt;My_USB_Stick&lt;/code&gt; matches &lt;code&gt;My_USB_Stick_40GB&lt;/code&gt; and &lt;code&gt;My_USB_Stick_80GB&lt;/code&gt;. Devices are found automatically via the Device Discovering Wizard (from user logs) or created manually.&lt;/p&gt;

&lt;h2&gt;
  
  
  Device Scanning &amp;amp; Authorization
&lt;/h2&gt;

&lt;p&gt;Beyond encryption, ME&amp;amp;PP can scan inserted media for malware and unauthorized file types before allowing access:&lt;br&gt;
&lt;/p&gt;

&lt;pre data-lang="mermaid"&gt;&lt;code&gt;flowchart TD
    A[Device inserted] --&amp;gt; B[Scan: malware + unauthorized file types]
    B --&amp;gt; C{Self-authorization allowed?}
    C --&amp;gt;|Yes| D[User scans manually or automatically, then authorized]
    C --&amp;gt;|No| E[A specified admin authorizes after a clean scan]
    D --&amp;gt; F[Authorized]
    E --&amp;gt; F
    F --&amp;gt; G{Contents change later?}
    G --&amp;gt;|In a trusted ME&amp;amp;PP environment| H[Not rescanned each time]
    G --&amp;gt;|In an environment WITHOUT ME&amp;amp;PP| I[Rescanned every insertion into an ME&amp;amp;PP PC]&lt;/code&gt;&lt;/pre&gt;



&lt;p&gt;Unauthorized file types work in two modes: &lt;strong&gt;Unauthorized&lt;/strong&gt; (you list what is blocked and everything else is allowed; this is the default, with all types allowed) or &lt;strong&gt;Authorized&lt;/strong&gt; (you list what is allowed and everything else is blocked). On E80.64+ clients, optical media (CD/DVD) can also be scanned.&lt;/p&gt;

&lt;h2&gt;
  
  
  Offline Access, Container Sizing &amp;amp; Lockout
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Offline Access&lt;/strong&gt; lets users open encrypted media on protected computers not connected to a server, or on non-protected computers, via a password, with an optional read-only password and Remote Help password recovery. Encryption settings control what happens to non-business data (copy to encrypted section, delete, or leave untouched), secure-format passes, and owner selection (AD only).&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note (E89.x known limitation):&lt;/strong&gt; when Windows Smart App Control is enabled, it blocks the Media Encryption offline utility (&lt;code&gt;Access To Business Data.exe&lt;/code&gt;) that ships on the removable media. Workaround: copy the utility to a local disk and run it from there (EPS-51871).&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Encryption Container:&lt;/strong&gt; to force whole-device encryption, do not allow the user to change the encrypted size, and set both Minimum and Default percentage of media capacity to 100.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Media Lockout&lt;/strong&gt; after failed authentication:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Setting&lt;/th&gt;
&lt;th&gt;Default threshold&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Temporarily lock the device&lt;/td&gt;
&lt;td&gt;5 attempts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Permanently lock the device (until admin unlocks)&lt;/td&gt;
&lt;td&gt;10 attempts&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Offline passwords reuse the OneCheck complexity model (Windows complexity: at least 6 characters, at least 3 of 4 categories, or a custom policy).&lt;/p&gt;

&lt;h2&gt;
  
  
  Best Practices
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Default to &lt;strong&gt;Encrypt business related data&lt;/strong&gt;. It protects confidential documents without blocking personal files, so adoption is painless.&lt;/li&gt;
&lt;li&gt;Use the &lt;strong&gt;UUID Site trust&lt;/strong&gt; deliberately. Trust only the sites that genuinely need to share encrypted media, and leave everything else non-trusted.&lt;/li&gt;
&lt;li&gt;Copy the &lt;strong&gt;Explorer Utility&lt;/strong&gt; to encrypted media if users must read it on machines without ME&amp;amp;PP. Otherwise the data is unreadable off-network.&lt;/li&gt;
&lt;li&gt;Enable &lt;strong&gt;temporary lockout (5)&lt;/strong&gt; at minimum, and add permanent lockout for high-sensitivity fleets.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Common Mistakes
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Mistake&lt;/th&gt;
&lt;th&gt;Impact&lt;/th&gt;
&lt;th&gt;Solution&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Clearing Allow encryption in the write action&lt;/td&gt;
&lt;td&gt;No device can be encrypted at all&lt;/td&gt;
&lt;td&gt;Keep it enabled where encryption is intended&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Forgetting wildcard precedence&lt;/td&gt;
&lt;td&gt;An overly broad &lt;code&gt;*&lt;/code&gt; rule shadows a specific rule&lt;/td&gt;
&lt;td&gt;Remember the order &lt;code&gt;*&lt;/code&gt;, then &lt;code&gt;?&lt;/code&gt;, then exact&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Blocking all peripherals without allowing essentials&lt;/td&gt;
&lt;td&gt;Users lose keyboard/mouse/network&lt;/td&gt;
&lt;td&gt;Use &lt;em&gt;Allow essential devices only&lt;/em&gt; as the floor&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Expecting encrypted media to open anywhere&lt;/td&gt;
&lt;td&gt;Non-trusted server means no access&lt;/td&gt;
&lt;td&gt;Plan Site trust; ship the Explorer Utility for off-network reads&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Not setting lockout&lt;/td&gt;
&lt;td&gt;Brute-force on a lost stick&lt;/td&gt;
&lt;td&gt;Enable temporary (5) and permanent (10) lockout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Offline utility blocked on a locked-down endpoint&lt;/td&gt;
&lt;td&gt;Users cannot open encrypted media where Smart App Control is on&lt;/td&gt;
&lt;td&gt;Copy &lt;code&gt;Access To Business Data.exe&lt;/code&gt; to a local disk and run it there (EPS-51871)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Q: Which file types get encrypted by default?&lt;/strong&gt;&lt;br&gt;
A: Business-related types: Word, Spreadsheet, Presentation, Database, Drawing, Graphic, Viewer, Archive, Markup, Email, Text. Multimedia, Image and Executable are not, by default.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q: How do I force the entire USB device to be encrypted?&lt;/strong&gt;&lt;br&gt;
A: Disable "allow user to change size" and set Minimum + Default to 100% of media capacity.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q: Can users still read encrypted media off the corporate network?&lt;/strong&gt;&lt;br&gt;
A: Yes, with Offline Access: a password (and the Explorer Utility on machines without ME&amp;amp;PP).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q: How many failed attempts before lockout?&lt;/strong&gt;&lt;br&gt;
A: 5 for temporary lock, 10 for permanent lock (defaults).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Q: Can I allow one specific USB model and block the rest?&lt;/strong&gt;&lt;br&gt;
A: Yes. Create a device exception by device ID/model or serial (with wildcards), respecting the &lt;code&gt;*&lt;/code&gt;, then &lt;code&gt;?&lt;/code&gt;, then exact precedence.&lt;/p&gt;

&lt;h2&gt;
  
  
  References
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Check Point Harmony Endpoint Administration Guide (cloud / Infinity Portal), &lt;em&gt;Configuring the Data Protection Policy &amp;gt; Media Encryption &amp;amp; Port Protection&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;Check Point SecureKnowledge sk166110, How to encrypt media with Media Encryption &amp;amp; Port Protection&lt;/li&gt;
&lt;li&gt;Check Point SecureKnowledge sk184929, Enterprise Endpoint Security E89.25 Windows Clients (known limitation EPS-51871)&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;em&gt;Originally published on Check Point CheckMates. Read the full article and the rest of the Harmony Endpoint Deep Dives series there:&lt;/em&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;em&gt;English: &lt;a href="https://community.checkpoint.com/t5/Endpoint/EN-Media-Encryption-amp-Port-Protection-Deep-Dive-USB-Control/m-p/282580" rel="noopener noreferrer"&gt;https://community.checkpoint.com/t5/Endpoint/EN-Media-Encryption-amp-Port-Protection-Deep-Dive-USB-Control/m-p/282580&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;&lt;em&gt;Portuguese: &lt;a href="https://community.checkpoint.com/t5/Endpoint/PT-BR-Media-Encryption-amp-Port-Protection-Controle-de-USB-e/m-p/282584" rel="noopener noreferrer"&gt;https://community.checkpoint.com/t5/Endpoint/PT-BR-Media-Encryption-amp-Port-Protection-Controle-de-USB-e/m-p/282584&lt;/a&gt;&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>checkpoint</category>
      <category>security</category>
      <category>endpoint</category>
      <category>dataprotection</category>
    </item>
  </channel>
</rss>
