Skip to main content
1-Visitor
November 30, 2022
Question

IP Blacklist

  • November 30, 2022
  • 2 replies
  • 932 views

Hi all,
is it possible to block specific IPs when a thing wants to communicate with the server?

 

Thanks in Advance

2 replies

24-Ruby III
December 1, 2022

 Hi,

 

There was a similar question before - "Is there a way to blacklist a remote device?": https://community.ptc.com/t5/ThingWorx-Developers/Is-there-a-way-to-blacklist-a-remote-device/td-p/655409

16-Pearl
December 6, 2022

Hi @MF_10410533 

 

Not sure about what you mean exactly by "a thing wants to communicate with the server".

If you use case is a remote edge device communicating with ThingWorx via REST API using application key as the way for authentication,

application key in ThingWorx has a IP Allowlist field by which you can configure the IP whitelist.

Note that the app key whitelist only applies to REST interface interactions, and does not apply to websocket communications. https://www.ptc.com/en/support/article/cs214898

Alternatively, you can configure ThingWorx server's firewall to block inbound communication from certain IPs.