Questions tagged [security]

Salesforce user security is an intersection of sharing, user, Profiles, roles, roles hierarchy and object permissions.

Filter by
Sorted by
Tagged with
1
vote
1answer
31 views

How should I share a summary-level view of opportunities without sharing their activities, emails & files?

I have an org containing several business subsidies working on opportunities. These opportunities may have sensitive data attached to them in files, emails, calls, etc. Users in each subsidy should ...
2
votes
2answers
24 views

Cross-reference Permission label to permissionsXXX API Name

So, I'm running the SFDC Labs app Guest User Access Report that outlines what permissions a Community Guest User has The report enumerates permissions where the guest user has potential risk given ...
0
votes
0answers
6 views

How do you manage permissions on MC? [closed]

Unless I'm looking in the wrong place, the role permissions on MC are listed under 41 areas with a total of over 1,100 check boxes! Given that the system itself comprises only 8 separate modules, I'm ...
1
vote
0answers
35 views

Scan uploaded files for viruses

I have a public Salesforce Community that I use like Web To Case - for clients to create new cases in my org. For implementing that, I have developed a lightning web component that creates a case. ...
5
votes
0answers
51 views

Add Community members via Apex?

Is it possible to add/change/delete Community members using Apex? I know how to do this via the UI (see picture below), but I'm looking to automate some things on the demo side of the business for ...
2
votes
2answers
32 views

Remove installed package objects permission from Profile

Is there any easy way to remove Read, Create, Edit, Delete, View All, Modify All permissions of objects related to installed packages from Profile?. I have been doing this manually by going ...
0
votes
0answers
26 views

Cross-Site Scripting in visual force input

We have received a security warning regarding Cross-Site Scripting for below input : <apex:inputtext value="{!mergeText}" id="txtField" disabled="true" size="25"/> What changes are required to ...
0
votes
0answers
15 views

Lightning Knowledge external access

I'd like to have publicly available Knowledge base inside my partner community. What is already done: Created Partner Community Enabled guest access to the community Enabled Lightning Knowledge and ...
0
votes
0answers
18 views

Salesforce Administrator without files access

I have a unique scenario where there would be a user who should have admin permissions in an org but should not have access to files and attachments on records. Any way this could be achieved? Bonus ...
1
vote
1answer
31 views

Cant able to deactivate the user and not able to change the user license

Error: This user, as the Automated Case User, must have the "Modify All Data" and "Send Email" permissions. Select a profile or assign a permission set with these permissions enabled.
0
votes
1answer
35 views

validate callout payload at webservice? [closed]

I am making a callout to web service. How can i validate payload received from callout at web service endpoint. is there anyway to authenticate that request actually came from salesforce only?
4
votes
1answer
99 views

Marketing Cloud - callout from CloudPage to MC API - where to store credentials

We are building a simple functionality on a CloudPage that will be making an API call to Marketing Clouds API. I was looking at documentation to find information on where we should store the Client Id ...
2
votes
1answer
29 views

Field level Security Or Profile permission edit not working!

On a "section" of the Opportunity Object I am trying to give "read only" to a specific profiles or specific user however when I go to profile I am unable to edit profile permission of the object I am ...
1
vote
0answers
21 views

Providing a list of data to non-users securely [closed]

We have a requirement to send data to a list of people who are not users. This data is, and should be treated as, highly secure. These people are owed this data and are allowed to view it but it ...
2
votes
1answer
126 views

Constructing a SSL certificate chain for uploading to Certificate and Key Management

Background I generated a CSR from Salesforce setup and have received back the PositiveSSL Certificate from sectigo.com. But when I try and upload the certificate into Salesforce, I get this error: ...
0
votes
1answer
34 views

Community Plus users are not able to get the attachment using standard salesforce API

We want to get attachment BLOB data using the standard salesforce API. See the API Docs link below. ([https://developer.salesforce.com/docs/api-explorer/sobject/Attachment/get-attachment-id]) We are ...
2
votes
0answers
26 views

Schema.sObjectType.Task.fields.Subject.isUpdateable() is false in force.com site

We have managed a package where we are using apexrest through force.com site to update the task records. This works fine unless we add security enforce through apex getDescribe() like, Schema....
0
votes
1answer
17 views

Different QuoteDocument using Connected APP REST API and Workbench / Interaction

I've set up a autolaunched Flow, which creates a PDF based on a Quote Template. My connected APP use this Flow through the REST-API. The output is an empty PDF with a Size of 2 KB. The same Flow, ...
0
votes
1answer
21 views

can you restrict edit access to a field after one time edited?

I am working on a Picklist requirement which needs to give Edit access to all by default. Once any value is entered by any user, edit access is restricted to all except Admin Profiles. Any ...
0
votes
1answer
19 views

Make a User only view and manage users in setup - Nothing else

Is there a way - setting to say that a user will only manage users (view, create and update users) from setup and nothing else? For example, i don't want this user to have access to object manager ...
0
votes
1answer
9 views

Limit records based upon multiple criteria on object and user

I'm looking at limiting access to certain records such that should a record be assigned to a certain group of users (via some field on the object), only those users would be able see or edit those ...
1
vote
1answer
25 views

Field Level Security on Email Template Not Working as Expected

I'm trying to hide specific fields in an email template for a specific profile. For this, I removed the field level access for fields I want to hide for the respective profile. After logging in as ...
2
votes
1answer
61 views

What are the security implications of using a self signed certificate for the JWT-Based Auth flow or to authorize a connected app in Salesforce?

I am new to Salesforce DX and am in the process of setting up a scratch org. The steps on Salesforce's website instruct the user to create a self-signed certificate because "The JWT-based ...
0
votes
0answers
14 views

owner change in case with child record relationship master detail

I am changing the owner of the case and I have a master-detail with viewed notification object.everything is working fine .the problem is in changing the owner of the case does not transfer the viewed ...
0
votes
3answers
59 views

Possible to Detect if a Record is Being Created by Apex?

Background An Apex Trigger has been set up on a parent object to automatically create a child object record when the parent object record is created. However, another Apex Trigger has been set up on ...
0
votes
0answers
29 views

Access Granted Through Sharing Rules is Inconsistent - Keep Having to Recalculate

We're having a problem where we are continuously having to manually recalculate sharing rules in an org. Account OWD is set to Private. Sharing Rule 1: Account lookup field is populated by a certain ...
0
votes
0answers
10 views

Using PKCE while integrating salesforce with an authorization server [duplicate]

I want to authenticate users for salesforce community with external authentication server. I want to use PKCE to secure this. Has anyone implemented this? How to create code_verifier and ...
0
votes
1answer
155 views

Can emails from Marketing Cloud be sent via a relay?

The CSO of my company doesn't want us to use Marketing Cloud to employees unless the emails are sent through a relay ("...it needs to be authenticated and secured (and must have protections to prevent ...
0
votes
1answer
18 views

Possible to Customise Groups?

It it possible to: 1) Add new Type values for Groups? This is a picklist field. 2) Customise the page layout for Public Groups? 3) Create a text field for (Public) Groups? The Group object doesn't ...
2
votes
1answer
328 views

Edit Permissions for Guest Users after “Secure guest user record access”

Salesforce Alerted me that at the end of February we would be forced into the security update for "Secure guest user record access". I tried this in my sandbox and it seems to have some adverse ...
0
votes
1answer
57 views

Marketing Cloud sFTP to vendor issue

We are trying to use Marketing Cloud to drop a file onto a vendors sFTP site. We have username and password etc and can make the connection from home, Starbucks or any network except where we work. ...
0
votes
0answers
16 views

Mask Data Based on Opportunity Team

I am wondering the approach to take on this.. The requirement is to have a certain opportunity type where the data is masked to everyone except the members of the opportunity team... We are thinking ...
2
votes
1answer
39 views

Why can't I look at 'individual' relationship on contact/lead?

In order to comply with GDPR rules and regulations, I've enabled the 'Individual' object in our org to store individual's privacy preferences. Our main use case is to prevent any type of Data Loader ...
0
votes
0answers
8 views

Hide lead records from global search and list view including system admin

I have implemented lead conversion from apex class. I have done that correctly. But after the conversion I want to archive the lead(Hide the lead from list view). In standard lead conversion ...
4
votes
1answer
94 views

Does Salesforce support PKCE validation in Web server flow?

In Salesforce OAuth2.0 Web Server flow, there is an option to not require a client key. But I am not sure whether it supports OAuth 2.0 RFC 7636: https://oauth.net/2/pkce/, which is the PKCE ...
3
votes
1answer
35 views

Transaction Security is not available in Scratch Org

How am I able to turn on the visibility for transaction security? I am trying to test an apex class that implements TxnSecurity.PolicyCondition and according to this article to be able to see these ...
4
votes
1answer
74 views

Is it possible to upload a self-signed certificate into Salesforce for callout purpose?

We need to make a callout to an external system. The external system uses a self-generated certificate to verify the caller. So is it possible to upload a certificate into Salesforce for this purpose? ...
0
votes
0answers
143 views

I have a problem with the data security supeadgr challenge

I set the profile several times but still continues with the error step 4 (Challenge Not yet complete... here's what's wrong: The Field Sales User profile does not have the correct permissions for ...
1
vote
2answers
82 views

Mask sensitive data in production

Is anyone aware of how to mask sensitive data within the GUI? I have seen some mention in Sandboxes,but wanted to see if anyone was doing this in production? Thanks!
1
vote
1answer
23 views

Parameter validation in Visualforce to prevent “Illegal Request”

I have a very simple public force.com site (lets use the subdirectory mypublicsite), that accepts a single parameter. Since the site is public, users may send malicous content through this parameter. ...
1
vote
2answers
54 views

External Object to make only subset of records from mysql table available for SF org

We have a rather typical requirement at a first glance - just to make bunch of records from external mysql database available in clients' sf orgs. And we are giving a short to SF External Object as an ...
0
votes
0answers
17 views

Salesforce community and sharing - why are community accounts shared with all internal users of the same role and below?

We have a Salesforce community implementation and at the same time do not have a concept of role hierarchy in our org. Right now all internal users have the same role, "Sales User". Up until now, ...
0
votes
1answer
43 views

Can Remote Site Settings whitelist IP addresses instead of/in addition to domains?

I'm just wondering: We make a number of callouts from Salesforce to different APIs, and so obviously we need to whitelist their respective domains with Remote Site Settings. However, I'm wondering ...
0
votes
1answer
26 views

IP restrictions when authenticating named credentials

I'm trying to create a named credential for accessing in-house services from salesforce. For that I've setup an authentication provider: type: Open ID Connect Authorize Endpoint URL: https://test....
4
votes
1answer
64 views

Determine whether running user is logged in from within Trusted IP Range (from Apex)

I am creating a Login Flow that invokes Apex to do some processing, and need to determine whether the running (logging-in) user is connecting from an IP address whitelisted in our org's Trusted IP ...
0
votes
1answer
101 views

Is it advisable to use AMPscript as validation on a custom subscription center?

I have built a custom subscription center using SSJS and AMPscript and I was wondering if, beyond the fact that it works, if it's up to security standards. The center is just one cloud page which ...
0
votes
0answers
68 views

VisualForce Page - Detail Page Button - not displaying

I have a Detail Page Button on opportunity that open Visualforce page. From this Visual force page I can navigate through multiple Visualforce pages.That was working very well and without any changes ...
3
votes
0answers
60 views

Standard User with “Modify Metadata” fails to create active Picklist Value

What is failing here perfectly works for a SysAdmin user. I have a StandardUser with a permission set which grants him ModifyMetadata and calling this code creates the Picklist Value but leaves it ...
1
vote
1answer
44 views

Do you need Read access to an object to view its records in a report?

I believe if you have access to a report, record level access can be ignored and you can potentially see all records. Does this apply at the object level of a profile? So say a report is on Accounts, ...
0
votes
0answers
26 views

How exactly are the Einstein analystics external connectors secured?

I'm trying to connect einstein analytics to one of our local data servers. But network wont add the whitelist until they know how does this connection stay secure? And luckily for me not a single ...