> For the complete documentation index, see [llms.txt](https://docs.docontrol.io/docontrol-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docontrol.io/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing.md).

# Personal account sharing

**SaaS security problem**

Personal sharing occurs when employees share data with their own personal email accounts. Employees, especially when they're about to leave, might think that company assets, such as customer contacts and product roadmaps, are theirs to take. This opens the door to data exfiltration and increased risk of account takeover attacks, during and even after employees have left the company.&#x20;

Usually personal accounts are non-corporate and unauthorized email accounts, To make matters worse, most personal email accounts do not have security measures such as multi-factor authentication (MFA), making them the weak link in any chain of enterprise security solutions and increasing potential exposure.&#x20;

Basic sharing permissions within SaaS apps allow for anyone with access to sensitive data to exfiltrate it to personal accounts for their own unmonitored use.

**DoControl solution**

DoControl allows you to limit personal account sharing by approaching SaaS data permissioning from a position of least privilege. You can remove unauthorized access from shared assets. This helps to minimize data overexposure, and mitigate the risk of data loss.

DoControl leverages these tools to automatically monitor, mitigate and remediate the risks associated with personal account sharing across a variety of apps:

* [Alerts](#alerts-for-personal-account-sharing)
* [Playbooks](#playbooks-for-personal-account-sharing)

## What's a personal account?

A personal account is an employee's own email account. Usually personal accounts are non-corporate and unauthorized email accounts, which might not meet your organization's security standards. A non-business contact that originates from a free email account, such as gmail or yahoo, could be an attempt to exfiltrate data. These email platforms as a rule do not require multi-factor authentication (MFA), which makes them the weak link in any chain of enterprise security solutions.

## What's the risk?

Personal sharing occurs when employees give themselves access to organizational assets and data through their own personal email accounts. This opens the door to exfiltration during and even after their employment. Access might be shared with a third party – a vendor, a colleague, a friend, or even a competitor. After an employee resigns or is terminated, they should no longer have access to sensitive company data.&#x20;

Personal email platforms as a rule do not require multi-factor authentication (MFA), which makes them the weak link in any chain of enterprise security solutions.

## Alerts for personal account sharing

DoControl alerts automatically notify your organization when anomalous user behavior occurs. External sharing alert types indicate excess permission privileges that were granted to external users outside your organization; for example, assets shared with personal email accounts.

To mitigate the risk of exposed data as a result of sharing with personal email accounts, DoControl provides these alerts:

<table><thead><tr><th width="125.33333333333331">Alert type</th><th width="249">DoControl alert name</th><th>Alert description</th></tr></thead><tbody><tr><td>DC8</td><td>Shared sensitive file with personal email</td><td>This alert will trigger when an internal user shares potentially sensitive files with their own personal email account. <br>A file is considered sensitive if its name includes one or more sensitive keywords, or a user-defined <a href="/docontrol-user-guide/system-management/settings/lexical-lists.md#default-lexical-lists">keyword</a> was detected in the file name.</td></tr></tbody></table>

### Alert summary

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2Ff8SXVulAv4cdF1rQxX7n%2Fpersonal%20email%20alert%20summary.png?alt=media&amp;token=9cb7bcfa-03d3-423e-aa55-f84ba88708e7" alt=""><figcaption></figcaption></figure>

The links in the Alert summary display enriched metadata about the actor, target and shared files:

<table><thead><tr><th width="243">Link</th><th>Content</th></tr></thead><tbody><tr><td>Actor's organization email</td><td>Opens the <a href="/docontrol-user-guide/saas-data-monitoring/inventory/inventory-users/google-workspace-users/internal-users.md">Internal user </a>page listing the user's assets</td></tr><tr><td>Sensitive files</td><td>Opens the <a href="/docontrol-user-guide/saas-data-monitoring/inventory/inventory-assets.md">Asset</a> page listing sensitive assets shared by the actor</td></tr><tr><td>File link</td><td>Opens the <a href="/docontrol-user-guide/saas-data-monitoring/inventory/inventory-assets/google-drive-assets/google-asset-details.md">Asset</a> page with event and collaborator details related to the specific file</td></tr><tr><td>Actor's personal email</td><td>Opens the external user page listing the user's assets and events</td></tr><tr><td>Keyword</td><td>Opens the default sensitive <a href="/docontrol-user-guide/system-management/settings/lexical-lists.md#default-lexical-lists">keyword list</a> in <strong>Settings > Lexical lists</strong></td></tr></tbody></table>

When you click the **actor's personal email**, you can view all events where this actor shared assets with his or her personal email, and triggered workflows or alerts as a result.

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FXfxVcpUzdRJ6ZPvP9CoI%2Fpersonal%20file%20sharing%20events.png?alt=media&amp;token=692502c6-f74f-4b47-8943-d61b5e32160c" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
For details about DoControl alerts, go to **Help > DoControl Alert Specifications**.
{% endhint %}

### How to remediate alerts?

If your organization receives alerts notifying you of personal account sharing, you can delete the relevant collaborators on-demand using the **Remove external collaborators** inventory action.&#x20;

You can also set up a workflow that will remove external collaborators whenever a file is shared with a personal email account (immediately or after a given time frame).&#x20;

DoControl's remediation measures for personal account sharing are according to SaaS app:

* **Box, OneDrive, SharePoint** - With DoControl, you can remove external sharing permissions from the exposed assets. It is also recommended to set up a workflow that will auto-expire or prevent sharing data with private emails.
* **Dropbox** - In the Dropbox console, you can remove specific external collaborators by hovering over the asset you’d like to manage and click the share icon. In the dialog box, click on the "X people have access" link to select which collaborators to remove. Alternatively, you can remove the sharing link altogether.
* **Google Drive** - With DoControl, you can remove external sharing permissions from the exposed assets, or deny the target's access to any asset in Google Drive. It is also recommended to set up a workflow that will auto-expire or prevent sharing data with private emails.

{% hint style="info" %}
You can apply inventory actions to remove external collaborators from assets in these SaaS apps:

* Box
* Dropbox
* Google Drive
* OneDrive
* SharePoint
  {% endhint %}

## Playbooks for personal account sharing

To address the use cases of personal account sharing across various SaaS apps, you can define automated workflows with DoControl's out-of-the-box playbooks. These playbooks will:

* Automatically remove external collaborators from Google Drive, Box, and Microsoft 365 assets.
* Define timeframe to automatically remove external collaborators from Google Drive assets.
* Remediate a suspended or terminated employee's personal email access to Google Drive or Okta.

<figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2F0AHGaO1Kd7O3ECXu20kT%2Fpersonal%20account%20sharing.png?alt=media&amp;token=562f158b-82f8-49a2-9867-868fb2dce5ec" alt=""><figcaption></figcaption></figure>

Select a predefined DoControl playbook to remediate risks from personal account sharing

<table><thead><tr><th>Playbook name</th><th width="121.99999999999997">SaaS app</th><th>Playbook description</th></tr></thead><tbody><tr><td><a href="/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing/box-playbooks-for-personal-account-sharing.md#remove-sharing-with-personal-email">Remove sharing with personal email</a></td><td>Box</td><td>When someone shares a file from Box with their personal email account (as verified by the HRIS app), both the actor and manager are notified, and the external collaborators are automatically removed.</td></tr><tr><td><a href="/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing/google-playbooks-for-personal-account-sharing.md#remove-sharing-with-personal-email">Remove sharing with personal email</a></td><td>Google Drive</td><td>When someone shares a file from Google Drive with their personal email account (as verified by the HRIS app), both the actor and manager are notified, and the external collaborator set with personal emails is automatically removed.</td></tr><tr><td><a href="/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing/google-playbooks-for-personal-account-sharing.md#remediate-suspended-employees-personal-email-access-to-google-drive">Remediate suspended employee's personal email access to Google Drive</a></td><td>Google Workspace</td><td>When a employee is suspended from Google Workspace, DoControl automatically runs an API to remediate any Google files that were shared with the employee's personal email account. If the remediation action doesn't complete successfully, the Security team is notified, and the remediation is run again after a defined time interval.</td></tr><tr><td><a href="/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing/okta-playbooks-for-personal-account-sharing.md#remediate-terminated-employees-personal-email-access-to-google-drive">Remediate terminated employee's personal email access to Google Drive</a></td><td>Okta</td><td>When a employee is terminated by deactivating their Okta account, DoControl automatically runs an API to remediate any Google files that were shared with the employee's personal email account. If the remediation action doesn't complete successfully, the Security team is notified, and the remediation is run again after a defined time interval.</td></tr><tr><td><a href="/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing/onedrive-playbooks-for-personal-account-sharing.md#remove-sharing-with-personal-email">Remove sharing with personal email</a></td><td>OneDrive</td><td>When someone shares a file from OneDrive with their personal email account (as verified by the HRIS app), both the actor and manager are notified, and the external collaborators are automatically removed.</td></tr><tr><td><a href="/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing/sharepoint-playbooks-for-personal-account-sharing.md#remove-sharing-with-personal-email">Remove sharing with personal email</a></td><td>SharePoint</td><td>When someone shares a file from SharePoint with their personal email account (as verified by the HRIS app), both the actor and manager are notified, and the external collaborators are automatically removed.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docontrol.io/docontrol-user-guide/risk-management/threat-model-coverage/personal-account-sharing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
