function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MrTikMrTik 

Different security model

Hi,

 

Is it possible to have few pages like landing page or home page which does not require users of the site to login. And other pages of the site which would require the user to login in order to access that resource.

 

Is this kind of functionality available out of the box?

 

Regards.

RyanGuestRyanGuest

Yes, it's available out of the box.

 

Add your landing page to the site under the Allowed Visualforce Pages.

 

Add the other pages to the profile of your Site user (probably customer portal). DON'T add these pages to your Site.