Skip to main content

#Guest User Security0 人がディスカッション中

The Run Flows permission will be removed from all orgs starting in the Summer ‘22 release. To avoid future access issues, we recommend updating your existing sites to the new permission structure before the Summer ‘22 release. To update your flows, select Override default behavior and restrict access to enabled profiles or permission sets and provide granular flow access for your guest users.  Now I follow the steps of :

- create a flow.

-Click edit access

-Enable Override default behavior and restrict access to enabled profiles or permission sets

-Go to guest user profile and enable the flow

When I go to the community the flow doesn't run, what is happening?Do I need make something more?

The documentation I followed is : https://help.salesforce.com/s/articleView?id=sf.flow_distribute_security.htm&type=5 

 

Thank you in advance!

@* Salesforce Administrators * #Experience Cloud #Flow #Site Guest User #Secure Guest User

17 件の回答
0/9000
2 件の回答
0/9000

I have a question. Imagine that in a salesforce org there is an object called Form__c. This object stores all the fields of a form that is hosted as a visual force page.  If I remove object level Read/Write access and sharing settings, will guest users still be able to access it? In my org I have: 1) Removed all sharing settings for guest users 2) Disabled API access/apex Rest service 3) Restricted FLS read/write.  It seems the Guest users can still access records, how does that fit in?  #Guest User Security #Site Guest User #Guest Users #Guest User Security #Security 

1 件の回答
  1. Takaaki Motohashi (PERSOL CROSS TECHNOLOGY CO., LTD.) Forum Ambassador
    2021年8月7日 12:12
0/9000

Back when the whole Guest User Security thing started, I ran into an issue with queries to certain setup objects from Guest Users.  The metadata reported that the objects where inaccessible when should be.  In order to work around that issue, I have one class that is declared without sharing that does not do CRUD/FLS checks.  This class queries Group, GroupMember, UserRole, and OrgWideEmailAddress.

 

Anyone know if that issue has been fixed? 

 

We're about to go through security review and if the issue is fixed, I can change the class declaration and add WITH SECURITY_ENFORCED to the queries.  If the issue is not fixed, I'll have to document it as a false positive.

1 件のコメント
  1. 2021年5月20日 22:01
    These are considered "setup" objects, which we don't want to be accessed by a guest user. So you will have to continue doing this in a without sharing class, but the AppExchange security team should be aware of this pattern. If you have any issues with reviews there please post back here and we can help with alignment.
0/9000

Regarding the Guest User Security update, I am following the guide here: https://www.learnexperiencecloud.com/s/article/Guest-User-Record-Access-Development-Best-Practices

 

The examples for moving DML statements to a without sharing class make a lot of sense, but I am struggling to understand the examples for the encryption/decryption concepts.

 

The guide makes a lot of assumptions regarding the developer's  understanding of encryption/decryption, and doesn't explain that part as much. My follow up questions after reading this:

 

1) Are there any other resources regarding the concept of " encryption / decryption " we could reference to understand better what the examples in the guide are doing?

2) Do I need to apply encryption/decryption to be compliant with the Guest User Security update, or is it just a best practice suggestion? I'm struggling to understand how the Guest User Security update necessitates encrypt/decrypt. 

 

The need to abstract DML statements to a without sharing class makes a lot of sense, but I am lacking context for the encryption/decryption requirement/recommendation. 

3 件のコメント
  1. 2021年2月9日 18:15
    Encryption / decryption is not a requirement to get things to work functionally. It is a recommended best practice to implement a solution that is secure enough to allow your functionality to execute in a safer manner.
0/9000

***Important changes that may impact Guest User Visibility in Salesforce Communities**

 

Community Cloud Trailblazers - As you may know, Guest User Visibility is a Community level preference that grants the guest user access to see logged in members of the community.  It was introduced In the Winter ‘20 release and is controlled through the Let guest user see other members of this community setting.

 

We want to make you aware that in the Winter ’21 release, we will default OFF the community-specific Let guest users see other members of this community setting for all communities in orgs where at least one community was created prior to the Winter ‘20 release (October, 2019). Continue reading to understand the impacts and how you can opt-out if the setting is required for your community.

 

About the Setting: When ON, this setting may allow a guest user to access community users’ (authenticated users) personal information like first and last name, email, and other fields.

 

Impact of turning setting OFF:  Guest users will not be able to see logged in members of the community.

Below functionality will be impacted:

  • Chatter feeds will not show
  • Leaderboards and other people lists will not show
  • User search will not return results
  • Custom APEX implementations that query for users will not return results

 

Keeping the setting ON (Opt-Out):  If one or more of your communities require the Let guest users see other members of this community setting to be ON, you can opt-out prior to Winter ‘21 release via the Opt Out of Turning Off Community-Specific Setting for Guest Users to See Other Members (https://releasenotes.docs.salesforce.com/en-us/summer20/release-notes/rn_networks_GUV_opt_out.htm) critical update located in Setup > Critical Updates.  Activating the update ensures that communities will not be affected by this change.

 

Available Resources:

 

Thank you everyone for your partnership in prioritizing security!

3 件のコメント
  1. 2020年9月7日 19:16

    Maybe this has been asked and I'm missing it, but is there NO way to show discussions to the guest user profile without also showing the member info? This is a huge problem for our community. We rely on community discussions being available as organic search results to drive traffic to our site. Is there a plan to allow guest users to see anonymized conversation content?

    [Edit] I didn't see any plan, so I created this idea

    https://trailblazer.salesforce.com/ideaView?id=0874V000000ldiVQAQ
0/9000

Hi,

 

can anyone please confirm whether Guest User Security settings in Summer'20 will impact the communities without "Public Access" enabled? I was confused that the release note says that "These changes affect all customer organizations with Salesforce public sites built on site.com, force.com, or communities." But I am not sure what is a public sites built on site.com, force.com, or communities.

 

And another question is whether all communities allow guest user to access? 

 

Any comments and suggestions on my questions is highly appreciated.

 

Best regards,

Faxue Zhang

8 件のコメント
0/9000

Hi everyone:

 

I have an "Unauthenticated Community" that comes with the Enterprise Edition, set to "Public Access," but the Tile Menu, Knowledge Articles, and all other pages are still locked behind the Login Page.

 

Do I need to manually assign the Guest User Profile to users or change the site's "Public Access Settings?"

 

Your insights would be greatly appreciated!

 

Thank you in advance!

1 件のコメント
  1. 2020年4月13日 17:32
    Hi @Jennifer Jaw you do not need to assign the Guest User profile. Any internet traffic that comes to your site automatically uses the Guest User profile. However, you should test to ensure that guest see the intended info once the guest user security policy is enables
0/9000
9 件のコメント
  1. 2020年3月6日 14:59
    In the documentation, it does not have the "/s/" - that needs to be removed from your url. "/s/" takes you to the lightning level of your community, you are trying to access a visualforce page, so you would do that without the "/s/"
0/9000

@Fabrice Talbot We applied the "Secure guest user record access" setting to test and can no longer revert it back in one of our Partner Developer orgs. The org is currently on Spring 20. I thought this was going to be enforced with Summer 20.

1 件のコメント
  1. 2020年2月18日 13:50
    We encountered this as well. In order to disable it you have to first remove any guest user sharing rules you added. Once you do that you can then disable the option.
0/9000