Restricting table data access via REST web service using table settings is failing

Prateek Gupta3
Mega Guru

I am accessing the ServceNow instance-1 incident table data using Basic Auth and ServiceNow Table REST API from ServiceNow instance-2 . It is working fine (One of the instance is PDI instance and other one is from a nowlearning course)

Now, I am testing to restrict the Instance-1 incident table data access using Web Service by setting  "Allow access to this table via web services" = False on Inicdent table

Still I am able to get the get the Instance-1 incident table data

 

Instance-1 = Provider

Instance-2 = Client

 

Any help would be appreciated

12 REPLIES 12

Can you also Test it by Rest API explorer and see the status?

 

Kind Regards,

Ravi Chandra 

I have also noticed something interesting with this, when i tried to click on "explore rest api" through the table it definitely throwed me an error

MeenakshiGomat_0-1732459942836.png

However when i open rest api explorer directly and try to get data using the table it gives 200 Ok with actual results(I expected it would through me an error assuming this as an webservice call)

MeenakshiGomat_2-1732460404629.png

 

Seems only UI action is restricting to try this out, but through actual rest api explorer we are still allowed.

Hello @Prateek Gupta3 

Can you try by installing non-interactive sessions" plugins and check once.

 

I think that could be the issue.

Please mark the answer as helpful and correct if helped.

 

Kind regards,

Ravi Chandra 

 

Non-interactive session plugin is also installed.

Prateek Gupta3
Mega Guru

Non-interactive session plugin is also installed.