---
title: "Discussion on \"Apex Sharing Modes: With, Without, Inherited Sharing\" | Hashnode"
description: "Discussion on \"Apex Sharing Modes: With, Without, Inherited Sharing\". Every Apex class runs in one of three sharing modes. The default is the most permissive. Most production orgs have at least one class running with bypass when it should respect sharing. The fix is a one-keyword change and a code review disc"
url: "https://hashnode.com/posts/apex-sharing-modes-with-without-inherited-sharing/6a53c43741361a4465e4c811"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Apex Sharing Modes: With, Without, Inherited Sharing](https://sapotacorpvn.hashnode.dev/apex-sharing-modes-with-without-inherited-sharing?utm_source=hashnode&utm_medium=feed)

Every Apex class runs in one of three sharing modes. The default is the most permissive. Most production orgs have at least one class running with bypass when it should respect sharing. The fix is a one-keyword change and a code review disc

Jul 12 · 7 min read · sapotacorpvn.hashnode.dev  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#apex](https://hashnode.com/tag/apex)
-   [#sharing](https://hashnode.com/tag/sharing)
-   [#security](https://hashnode.com/tag/security)
-   [#apex-development](https://hashnode.com/tag/apex-development)

## Written by

[SapotaCorp](https://hashnode.com/@sapotacorpvn)

@sapotacorpvn · Hanoi, Vietnam

  
[View profile](https://hashnode.com/@sapotacorpvn)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
