---
schema_version: "1"
id: 41a69c3e62dde0f3e206dc15180f193fb8342ca25445d1834d0cc89b702066a6
title: Create Sharing Rules
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/security_sharing_rules_create.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.security_sharing_rules_create.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 988b0119c73bb54c1dc545cb14ab7ce9330414766765a0509a2c76e6974456e3
description: You can create sharing rules based on the record owner or other criteria, and sharing rules that grant record access to unauthenticated guest users. You can also create sharing rules based on group membership for the User object.
products:
  - Security
  - Salesforce Platform
release: "264"
---
# Create Sharing Rules

You can create sharing rules based on the record owner or other criteria, and sharing rules that grant record access to unauthenticated guest users. You can also create sharing rules based on group membership for the User object.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

You can define up to 300 total sharing rules for each object, including up to 50 criteria-based or guest user sharing rules, if available for the object.

For information on designing your sharing setup to improve performance and speed up sharing changes, see the [Designing Record Access for Enterprise Scale](https://developer.salesforce.com/docs/atlas.en-us.draes.meta/draes/draes_preface.htm) guide.

- **[Create Owner-Based Sharing Rules](https://help.salesforce.com/s/articleView?id=platform.security_sharing_rules_owner.htm&release=264.0.0&type=5)**  
    An owner-based sharing rule opens access to records owned by certain users.
- **[Create Criteria-Based Sharing Rules](https://help.salesforce.com/s/articleView?id=platform.security_sharing_rules_criteria.htm&release=264.0.0&type=5)**  
    A criteria-based sharing rule determines who to share records with based on field values.
- **[Create Guest User Sharing Rules](https://help.salesforce.com/s/articleView?id=platform.security_sharing_rules_guest.htm&release=264.0.0&type=5)**  
    A guest user sharing rule is a special type of criteria-based sharing rule and the only way to grant record access to unauthenticated guest users. Guest user sharing rules can only grant Read Only access.
- **[Create Sharing Rules Based on Group Membership](https://help.salesforce.com/s/articleView?id=platform.security_sharing_rules_group.htm&release=264.0.0&type=5)**  
    For the User object, you can create sharing rules based on group membership.