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
PRIYATAM REDDYPRIYATAM REDDY 

restrict user from accessing Salesforce.com on browser

How can we restrict user from accessing Salesforce.com on Internet Explorer and Mozilla apparently he should be allowed to access on google crome?
Best Answer chosen by PRIYATAM REDDY
JLA.ovhJLA.ovh
You could put a sidebar component that will redirect to the lougout url when detecting the wrong browser
Or you could have a frequent batch (or queueable apex) that will query AuthSession and LoginHistory objects to inactivate sessions for users having the wrong browser
Or you could customize the login page to include in the right part a component that will detect the wrong browser and redirect the user to a non-login page