Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I setup a custom object (called Sensitive Documents) with a child-master relationship to the Contact object. I was hoping to control the security of my custom object independent of the parent object (the Contact). When I go to sharing settings though, it shows as "Controlled by Parent", and if I edit the settings, my custom object is not shown (so I can't change it). How do I modify the sharing settings for the custom object?

My use case is that we need to control the security of attachments independent of the parent record they are attached to, and that's not supported by Salesforce (attachment security is inherited by the parent). I found the suggestion to create a custom object and then control the security of that object, but it's not looking like that's possible. Any other suggestions?

share|improve this question
@Eric Comments are for clarification, not answers. If you want to move your comment to an answer, I'll gladly remove mine. You were first, after all. – sfdcfox Aug 7 '14 at 2:14
up vote 2 down vote accepted

If the relationship to contacts is set to Master-Detail, sharing is enforced on the parent record.

If you change that field to a Lookup field, you can choose an independent sharing model.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.