How to restrict user to login based on country

Akula M S G Dev
Tera Contributor

How to restrict user to login into instance based on country 

4 REPLIES 4

Maik Skoddow
Tera Patron
Tera Patron

Hi

use for the requirement the "Adaptive Authentication" (see https://docs.servicenow.com/bundle/sandiego-platform-administration/page/integrate/authentication/co...)

Get from the following blog post an inspiration how to configure it: https://community.servicenow.com/community?id=community_blog&sys_id=6d4d71d9dbfb099008bbdb85ca9619cd

Kind regards
Maik

Appli
Mega Sage
Mega Sage

Hi, do you mean IP based restriction (all users with source IPs from country X) or attribute based (all users with Country Code = Country X in the profile)?

Hope it helps

Hope it helps

Gaurav Rotke1
Kilo Guru

Hi Akula M S G Devi,

Navigate to sys_user table and using the filter add the country code and run it.

find_real_file.png

Now you can find the related user records for a particular country and make all the users ACTIVE to False and Locked out is True.

 

find_real_file.png

Then users cannot access to ServiceNow.

 

Or refer:

https://docs.servicenow.com/bundle/newyork-platform-administration/page/administer/login/task/t_Acce...

https://docs.servicenow.com/bundle/geneva-servicenow-platform/page/administer/login/concept/c_IPRang...

 

If it helps then please mark correct and helpful.

Thank you

Gaurav Rotke

Randheer Singh
ServiceNow Employee
ServiceNow Employee

Hi @Akula M S G Dev ,


We plan to add location filter criteria within Adaptive Authentication in upcoming releases. Please don't hesitate to reach out to get more information on this. With this feature, the admin could restrict access to the instance based on the user's geolocation.

cc: @Maik Skoddow 

Thanks,

Randheer