cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Restricting Access of an AR Experience

lcase
10-Marble

Restricting Access of an AR Experience

Hi,

 

I know that in Vuforia Studio you can 'Require Authentication' for an experience. In this scenario you must have a user account in Thingworx, and enter the appropriate credentials, before being able to view the experience. My question relates to making multiple experiences private.  How do you ensure that a Thingworx user has access to one experience but not to other.

 

Question 1: If there are two distinct clients with two distinct AR experiences hosted on the same Experience Service, how do you make sure they can not view each others experiences?

 

Cheers,

Laura

ACCEPTED SOLUTION

Accepted Solutions
sdidier
17-Peridot
(To:lcase)

Hello,

 

Question : How do you ensure that a Thingworx user has access to one experience but not to other ?

Answer : A possible solution, it is possible to assign Users in a specific Group linked to an Experience in ThingWorx. 

                So with ThingWorx API, in Vuforia Studio, it is possible to have access to this information with getGroups Service

More details here : http://support.ptc.com/help/thingworx_hc/javadoc/com/thingworx/security/users/User.html

 

In Vuforia Studio when opening the Experience, run this method in a custom javascript function to check if the user can have the access or not.

 

To call a function when a view is loaded, please see this post : 

https://community.ptc.com/t5/Vuforia-Studio/Call-function-on-view-is-loaded/m-p/556114#M3453

.

Question 1If there are two distinct clients with two distinct AR experiences hosted on the same Experience Service, how do you make sure they can not view each others experiences?

Answer : In all cases, in Vuforia View, in Library menu, all Experiences available in Vuforia Experience Service setup in URL settings will be listed.

 

No customization is possible to list only Experiences visible to an Authentification.

 

Best regards,

Samuel

View solution in original post

3 REPLIES 3
sdidier
17-Peridot
(To:lcase)

Hello,

 

Question : How do you ensure that a Thingworx user has access to one experience but not to other ?

Answer : A possible solution, it is possible to assign Users in a specific Group linked to an Experience in ThingWorx. 

                So with ThingWorx API, in Vuforia Studio, it is possible to have access to this information with getGroups Service

More details here : http://support.ptc.com/help/thingworx_hc/javadoc/com/thingworx/security/users/User.html

 

In Vuforia Studio when opening the Experience, run this method in a custom javascript function to check if the user can have the access or not.

 

To call a function when a view is loaded, please see this post : 

https://community.ptc.com/t5/Vuforia-Studio/Call-function-on-view-is-loaded/m-p/556114#M3453

.

Question 1If there are two distinct clients with two distinct AR experiences hosted on the same Experience Service, how do you make sure they can not view each others experiences?

Answer : In all cases, in Vuforia View, in Library menu, all Experiences available in Vuforia Experience Service setup in URL settings will be listed.

 

No customization is possible to list only Experiences visible to an Authentification.

 

Best regards,

Samuel

lcase
10-Marble
(To:sdidier)

Thanks Samuel,

Does ptc anticipate any changes to the Vuforia Studio Platform regarding authentication of distinct groups? Or is what you outlined the complete capabilities for the foreseeable future?

sdidier
17-Peridot
(To:lcase)

Hello,

 

My previous post is just describing what it is possible with the actual releases.

 

I have no more information about future possibilities about that, for the moment.

 

I would suggest to flag this post has an idea about an enhancement for a such feature.

I cannot do it by myself as PTC employee. I don't have access to this action. 

More details in this web page:

https://www.ptc.com/en/support/enablement/Submitting_Product_Ideas

 

From my personal point of view, to deliver and to sell maintenance information to dealers in automotive business (or another business one), needs more accurate permissions management.

 

It would be nice to have more permissions, groups restrictions ...etc... in Vuforia Experience Service when hosting multiple Experiences with various groups of users.

Without to have to code something in ThingWorx.

 

Best regards,

Samuel

Announcements

Top Tags