Skip to main content

#Security76 人がディスカッション中

#Trailhead #Salesforce #Security #Permissionset For interviews, how deeply should a fresher understand Salesforce security concepts such as OWD, Role Hierarchy, Sharing Rules, Profiles, and Permission Sets? 

2 件の回答
  1. 10月9日 14:33

    Hi @ROHIT PIPPERA

     

    As a fresher, you don't need advanced knowledge of Salesforce security, but you should be strong in the basics. 

     

    Focus on these key concepts:

    1. OWD: Understand Private, Public Read Only, and Public Read/Write.
    2. Role Hierarchy: Know how managers can access their team's records.
    3. Sharing Rules: Understand how to provide additional record access.
    4. Profiles: Learn about baseline user permissions.
    5. Permission Sets: Know how to provide extra permissions without changing profiles.
    6. Field-Level Security: Understand how to control field visibility and edit access.

    My suggestion:

     Don't just learn definitions. Create a few users in a practice org and test different security scenarios. 

     

    Interviewers may ask why two users with the same profile can see different records or why a user can view a record but cannot edit it.

    If you can explain these scenarios confidently, you're well-prepared for fresher-level interviews. 

     

    All the best! 

     

    Thank you, 

    Venkat Yadav.

0/9000

Hi everyone,

I’m looking for some architectural input on a record visibility design for a multi-subsidiary arquitecture. 

 

Context:

  • Account and Quote OWDs are set to Private.
  • An ERP integration creates Quote records linked directly to QuoteAccountId (field when you activate the feature "Create Quotes without Opportunities"
  • All sales users share the same Profile and Role and public groups BUT
  • Field Sales users should only see Quotes linked to Accounts they own, provided the Quote and Account regions (e.g. Spain, France, etc.) match.

Current Solution:

To distinguish Field Sales users from back-office users, I created dedicated Public Groups per region (e.g. Group_FieldSales_RegionA, Group_FieldSales_RegionB).

A Record-Triggered Flow checks whether the Account Owner belongs to the corresponding Field Sales group. If so, the Flow creates a QuoteShare record for that user.

Importantly, these Public Groups created for the Field Sales users are not used in Sharing Rules

. They are only used by the Flow as an internal validation mechanism to identify whether the Account Owner is a Field Sales user. This is also important for managers with hybrid responsibilities, who may belong to both Field Sales and back-office groups (they are everywhere in every public group with execption of my newly created Field Sales public groups) 

 

Architectural Question:

There is a concern of non-developer members about using Public Groups and believes visibility should be based purely on Account Ownership.

  1. Would you consider using Public Groups as an internal identity/validation mechanism in Flow a sound architectural approach in this scenario?
  2. If Public Groups cannot be used, what would be a robust alternative for a Flow to identify Field Sales users, given that Profiles, Roles and public groups are shared and some users have hybrid responsibilities (Sales Managers are inside and outside at the same time)?

I’d appreciate your thoughts on the best practice for this design.

Thanks in advance! 

 

@Salesforce Administrators & Developers, @Salesforce Administrators and Developers, @APAC Architects, @Data Quality & Management, @Ladies Be Architects

 

 

#Trailhead Challenges  #Trailhead  #Salesforce Developer  #Salesforce Admin  #Solution Architects  #Architects  #Enterprise Architecture  #Flow  #Security

4 件の回答
  1. 10月6日 16:13

    @Lena Wong

    You're right the business rule doesn't care who owns the Quote. The risk comes from how the platform stores the share, not from the rule. 

     

    Where the Quote owner matters (platform mechanics, not business logic) 

    A Flow created QuoteShare is a manual share (row cause "Manual"). Salesforce deletes manual shares on a record when that record's OwnerId changes. Your Flow most likely triggers on events like Quote created or Account owner changed. A Quote owner change isn't one of those events, so: 

    1. The ERP (or a user or mass transfer) changes the Quote's owner.
    2. The platform silently deletes the share the Flow created.
    3. Nothing re-runs the Flow, so the Account Owner loses access even though the business rule says they should have it.

    Fixes, in order of preference: 

     

    • Add a trigger path on Quote update when OwnerId changes, so the Flow recreates the share.
    • Add a scheduled reconciliation that compares expected and actual shares. This also catches other drift.

    A related edge case:

    if the Account Owner is also the Quote owner, they already have access. The Flow should skip creating the share in that case, because inserting a share for the owner is rejected or ignored. 

     

    If the ERP never changes Quote ownership

    (it creates Quotes under a fixed integration user and never updates them), this risk mostly goes away, and the Account owner, region, and bulk-load gotchas are what remain. I can't confirm that from here, so it's worth asking the ERP team. 

     

    On the permission set groups

     

    If every sales user is in the same Permission Set Group, that group can't tell Field Sales from back-office, so it doesn't help as the identifier. Option 2 only works with a separate, standalone permission set (for example

    Field_Sales_Spain) assigned directly to Field Sales users and not included in the shared group. Hybrid managers just get that one assigned too.

0/9000

Today I have facing an issue, In my project we have some developer sandboxes. After sandbox refresh action completed, Currently we are unable to verify the email for the non admin users (users whom are not mentioned in the public group which can mentioned during sandbox refresh process). Means, Once sandbox refresh done, We unfreeze the active user and update his original email and that user have received the verification email with verification link. But during clicking the verification link, it's required login to confirm the email address. 

 

But you know, That user doesn't able to login into salesforce because the sandbox just refreshed and user doesn't have the access for the org, We actually ask the user to confirm the email for perform the "password reset" action for that user to enable the access for the org. 

 

So how to by pass this "Login required" behaviour and verify the email link as like previous from the email directly? 

 

Even I have disabled the Permission "

Require identity verification for email address changes" from Identity Verification settings as per Salesforce docs.

 

But still the behaviour is same, So anyone know how to fix/bypass this? 

 

Any help appriciated. 

 

#Salesforce Admin #Sandboxes #Security #Identity and Access Management #Salesforce

 

Thanks, 

Mohanraj S 

 

 

3 件の回答
  1. 10月6日 16:12

    @Mohanraj S

    we recently also had an issue in a Sandbox for a user we wanted to update email. The email update went into a loop that did not work.  

     

    After working with Salesforce support, what unblocked us was to clear cache in that case.  

    Previous checks: 

    1. Verify that user was not frozen.
    2. Confirmed through screen share they were following the steps required to update email.

    Once pasting the email ina private window web page, they were able to complete the process. 

0/9000

Our Tableau server's SSL certificate (from GoDaddy) expired today so we installed a new one. Users who browse to our Tableau site with Chrome or with Edge have no problems and the browsers indicate that the cert is trusted and good until March. However, three of our users are using Tableau Desktop 26.2.2783. One of them tried to use 'activate by logging into a server' and chose our Tableau server, but received the error 'cannot connect to Tableau Server, server's certificate is not trusted'. 

 

I have confirmed that this user has no problems accessing our Tableau site via browser. it's just the app that gets the certificate error. 

 

#Tableau Desktop & Web Authoring  #Security

2 件の回答
  1. 10月1日 16:24

    Thank you for the suggestion. I followed the steps in the link about clearing them manually, but for some reason, the error persisted. In the end what solved the problem was this: the certificate files we were using were IIS files, and came in the form of a .crt file, a PEM file, and an IIS intermediates .p7b file. I installed the CRT file to the user's certificate stores without a problem, but when I attempted to install the p7b file, Windows said it could not verify that the file was actually from GoDaddy (despite my having downloaded the file directly from the site). I had the machine install the file to the certificate store anyway, and afterwards Tableau Desktop was willing to start and activate properly. 

     

0/9000

Hi everyone, 

I'm experiencing an issue in a Salesforce Sandbox when trying to access: 

Setup → App Manager → View App → Manage Consumer Details 

 

When I click Manage Consumer Details, Salesforce opens the Verify Your Identity dialog, but the authentication immediately fails with the following error: 

There are no built-in authenticators available to this browser. 

Verify Your Identity fails with 'There are no built-in authenticators available to this browser' when opening Manage Consumer Details

 

Environment:

  • Salesforce Sandbox
  • Google Chrome

 

What I've already verified:

  • Touch ID is correctly registered as my authentication method.
  • Touch ID works correctly for other authentication requests.

 

From what I've investigated, it appears that the Verify Your Identity dialog may be rendered inside an internal iframe, and the browser is therefore unable to access the registered authenticator. 

 

Has anyone encountered this issue before? Is this a known Salesforce or Chrome limitation, or is there a configuration or workaround that resolves it? 

 

Any help or suggestions would be greatly appreciated. 

 

Thank you! 

 

 

 

#Security

14 件の回答
  1. 10月1日 13:39

    A work colleague has shared another alternative solution with me. 

     

    In Setup → Session Settings → Session Security Levels, move Passwordless Login via Passkeys to the High Assurance category. 

     

    Why does this work? 

     

    Salesforce allows us to define which authentication methods establish a High Assurance session. By classifying Passwordless Login via Passkeys as High Assurance, users who log in with a passkey start their session at that security level. 

     

    As a result, when they perform sensitive operations that require High Assurance, Salesforce doesn’t prompt them to verify their identity again during the same session: 

     

    If you require high assurance for sensitive operations and users have a high-assurance session after logging in, they aren’t prompted to verify their identity in the same session.

     

    The list of affected operations and the corresponding configuration can be found here: Require High-Assurance Session Security for Sensitive Operations

0/9000
4 件の回答
  1. 9月24日 7:37

     Run your test class from Developer Console --> Test --> Run All first. Make sure the Parklocater class reaches 100% coverage and there are no test failures. After that, return to Trailhead and click Check Challenge again. Also verify that your test method covers all executable lines in the Parklocater class.

0/9000
4 件の回答
0/9000

Hi everyone, 

 

I’m working on a simple Lightning Web Component that contains a list of external reading resources. The links work normally when I copy them into Chrome, but I’m having trouble when I try to open them directly from the LWC. 

 

For example, I added a reference link for the Surah Baqarah Last 2 Ayat resource

. When I click the link from the component, the behavior is inconsistent depending on how the link is opened. 

 

I’m currently using a standard anchor element and have also tried NavigationMixin with standard__webPage. 

 

Is there a recommended Salesforce approach for opening an external HTTPS website from an LWC? Do I need to add the domain under Trusted URLs/CSP settings, or should an external website simply be opened in a new browser tab without any CSP configuration? 

 

Any example of the recommended implementation would be appreciated. 

 

#Security

2 件の回答
  1. Divs Chauhan (kcloud) Forum Ambassador
    9月23日 6:35

     Hi Kevin, 

     for opening an external website from an LWC, you don't need any CSP/Trusted URL configuration that's only required when the LWC needs to call an external endpoint or load a remote resource . Simply navigating the user's browser to an external URL in a new tab is just standard browser navigation and Salesforce doesn't mediate it. you can use a plain anchor tag with rel="noopener noreferrer". 

      

     I hope this help!!

0/9000

Can anyone provide more details on exactly how and where the new Certificate Trust Store is used? 

 

The release notes suggest the Trust Store is intended to support adding additional root certificates to allow Named Credential callouts to endpoints signed by a private or internal CA not already in the global Salesforce-managed trust store. 

 

However, the help documentation indicates that the Trust Store is used for "for validating inbound TLS connections" (???), and also states "The Certificate Trust Store supports Named Credentials integrations only." 

The help text within a Winter 27 sandbox states it is used for "API calls and SSO": 

New Certificate Trust Store usage unclear

 

1) Where exactly is the new "Certificate Trust Store" used?  Is it Named Credentials only?  Is it with outbound TLS connections or inbound, too? 

 

2) It is also unclear if the new "Certificate Trust Store" replaces the global Salesforce-managed trust store, or if the Trust Store provides a means to add additional certificates.  In other words, customers should never need to upload public root certificates that are already present in the global Salesforce-managed trust store, customers only need to upload root certificates from a private or internal CA, right? 

 

Thanks! 

#Security

3 件の回答
0/9000

Hello All, 

We are currently facing an issue with the Salesforce Connector for Google Sheets. We have been unable to export Salesforce reports to Google Sheets using the connector. 

We are receiving the following error message: 

"In order to get all of the report data, disconnect and re-authorize the Add-on from Salesforce using Help > Connection Information > Disconnect Add-on. Once disconnected, log in to Salesforce again using the Add-on." 

Based on our initial findings, we suspect that this issue may have been caused by the recent MFA enforcement in the Production environment.  

Each time a user tries to export a report, a new verification window opens and asks for an MFA verification code.

We are using the Salesforce Connector and have followed the instructions provided in the error message. After reconnecting, the export works only up to 2,000 records, and then the connection fails again.

Is there any workaround or recommended solution to prevent repeated MFA prompts and allow users to export reports successfully?

 

 

 

#Salesforce Admin  #Security  #MFA  #Salesforce_connector

7 件のコメント
  1. 9月21日 9:55

    We are migrating to SOQL, meaning we will use the same Google Connector to query the data directly instead of exporting reports. Because this SOQL export operates via the API rather than the UI, it successfully bypasses the mentioned limitation.

    However, please keep the following SOQL specifics in mind:

    • Row Limits: Extracts are capped at 10,000 rows.
    • Headers: Google Sheets will display field API names instead of standard field labels.
    • Formatting: The column order in the sheet may not match the order of fields in your query.

    Despite these quirks, this remains a highly effective workaround.

0/9000