+ Start a Discussion
David PoynterDavid Poynter 

Can you limit users visibility of salesforce content separately on mobile?

Like what if we just want our users to be able to access the calendar from the salesforce app. When they are in using their computer we want them to have full acess, but then when they are out and about with their phones, can we limit them to only viewing their clendar or certain records/objects.

Thank you!
Best Answer chosen by David Poynter
NagendraNagendra (Salesforce Developers) 
Hi David,

There's a lot you can do with Session-Based Permission Sets https://help.salesforce.com/articleView?id=perm_sets_session_use.htm&type=5 . Basically, you can create a login flow https://help.salesforce.com/articleView?id=security_login_flow.htm&type=5 that assigns permissions to a specific session. Basically, your basic profile would include only permissions they normally have, then you'd add extra permissions (via the Session-Based Permission Set) to allow them to do other stuff. In your case, it sounds like you'd restrict their basic profile for mobile, then on a web login, you'd add in extra permissions for editing the calendar, etc. I don't believe it's possible to have record-level granularity here, though, but it should get you most of the way. You can read more about this in the Salesforce Security Guide https://developer.salesforce.com/docs/atlas.en-us.securityImplGuide.meta/securityImplGuide/security_login_flow_examples.htm .You might also want to look at this trailhead module https://trailhead.salesforce.com/en/modules/session_based_perms/units/session_based_overview.

Hope this helps.

Kindly mark this as solved if the reply was helpful.

Thanks,