Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

How to protect SharedProperty from prying eyes and use it on AFCS for logic?

Avatar

Level 3

Hello,

I would like to store some SharedProperty values for the application logic on the server side. As I udnerstand SharedProperty is suitable for that.

Does it get distributed to clients as well and if yes can they easily see it or hack it?

Can I perhaps encode it with the encoding public method to hide it from them? (http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/util/ISO9075.html)

Also is there any way I could check user input against this shared property and take appropriate action or this can be only done by passing user input to my server via HTTP?

some further reading:

http://www.flashrealtime.com/sharedproperty-afcs-best-practices/

http://forums.adobe.com/message/2108466#2108466

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

Clients would not get SharedProperty until they subscribe to it. So you can write your client logic so that they wouldnt subscribe.

Also you can enforce permissions on the SharedProperty so that only the owner of the room can see the SharedProperty. (SharedProperty.accessModel = UserRoles.OWNER & SharedProperty.publishModel=UserRoles.OWNER)

Hope I understood your question right and the solution addresses your issue.

Thanks

Arun

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi,

Clients would not get SharedProperty until they subscribe to it. So you can write your client logic so that they wouldnt subscribe.

Also you can enforce permissions on the SharedProperty so that only the owner of the room can see the SharedProperty. (SharedProperty.accessModel = UserRoles.OWNER & SharedProperty.publishModel=UserRoles.OWNER)

Hope I understood your question right and the solution addresses your issue.

Thanks

Arun