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
2
votes
1answer
25 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
20 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
36 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
20 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
24 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
13 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
17 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
17 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
30 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
55 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
23 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
72 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
83 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
38 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
36 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
59 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 ...
2
votes
0answers
23 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
61 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
32 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
54 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
50 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
15 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
35 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
24 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
57 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
65 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
50 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
41 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
24 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 ...
0
votes
0answers
35 views

Can Code triggered by Chatter-Free user run in System mode?

I am exposing some code to Chatter Free user which modifies Account objects. I know that Chatter Free users are not directly able to modify them. But can my trigger code do it on behalf of them? As ...
-3
votes
1answer
48 views

Ability to the employee user to edit the records created by manager

I have 2 roles (Manager and Employee). Employee reports to Manager. Employees should be able to edit Case records created by manager. OWD on the Case object is Private. Created a criteria based ...
1
vote
1answer
23 views

Default Sandbox access situation with regards to users

So when a Sandbox is refreshed or created, everyone's email gets changed so that it has .invalid on the end. This seems to have the useful side effect of stopping users from logging in - when they ...
0
votes
0answers
35 views

How can I prevent unauthenticated users from downloading an attachment?

I have a community and internal links to attachments. They end with ...servlet/servlet.FileDownload?file={ID} When the user clicks the link, a window.open(fileUrl) is called. This prompts to download....
0
votes
0answers
27 views

How to hide records from Community users based on record type

I have requirement wherein i need to hide/show records from Community users based on record type i.e., Community Users should only see records of X object but only for the type of record type assigned ...
0
votes
0answers
60 views

View report records by queues not working

I have a custom report (Sales Orders with Work orders) but it doesn't filter out by queues. Both objects are on PRIVATE in the OWD and I have set the filter to the one in the print screen Any user ...
3
votes
1answer
58 views

Is Jest mandatory in LWC For appExchange app

As SF stated Jest is independent of Salesforce and doesn't run in web browser. Is it mandatory to write coverage/unit testing for Lightning Web Components and add in bundle while creating manage ...
0
votes
1answer
77 views

with sharing without sharing vs extension?

While going through manuals, it was mentioned Many times that apex classes will not consider security of logged in user but it will run in system mode and we should add custom controller extension to ...
0
votes
0answers
15 views

Security - See which user exported reports [duplicate]

Is there a way which I can know which user made export to report? Details about the user, date and time and the report name? (A free tool will be great). Thanks!
0
votes
0answers
22 views

How to secure API end points in custom activities?

I have a custom activity created for the journey builder. From a security point of view, how can I protect my REST endpoints? I know we can get the fuel token in the getToken method from postmonger. ...
1
vote
0answers
25 views

Using Protected Component for “Secret Protection” with Unlocked Packages

How do "Protected Components" (Custom Settings or Custom Metadata) function when installed from an Unlocked Package. I was hoping that I would be able to use as "Protected (Managed)" to store "...
0
votes
0answers
31 views

Need help on Salesforce Login discovery

Requirement-I want one of the dedicated profile to be redirected to seprate SSO flow and others needs to redirect to normal username/password flow. I have gone through Login discovery but it seems to ...