cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

What is the difference between FLC_HOSTID_TYPE_PUBLISHER_DEFINED and FLC_HOSTID_TYPE_STRING?

What is the difference between FLC_HOSTID_TYPE_PUBLISHER_DEFINED and FLC_HOSTID_TYPE_STRING?

Summary

What is the difference between FLC_HOSTID_TYPE_PUBLISHER_DEFINED and FLC_HOSTID_TYPE_STRING?

Question

FlcHostIdType enum in FlcHostIdType.h contains definitions for

* FLC_HOSTID_TYPE_STRING
* FLC_HOSTID_TYPE_PUBLISHER_DEFINED

What is the difference between these two?

What are the use-cases for each one?

Answer

String is the original API and PUBLISHER_DEFINED is a newer, more specific incarnation. Using a PUBLISHER_DEFINED hostid type is more secure compared to String, even though both are of the ?string? data type. String should almost never be used in Production. Note that the security around the publisher_defined hostid, while better than String, is not very strong and hence it is recommended for trusted environments or closed eco systems only.
Was this article helpful? Yes No
100% helpful (1/1)
Version history
Last update:
‎Nov 12, 2018 07:52 PM
Updated by: