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

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

How to access Files on system drives such as C drive using thingworx thing service?

Mayur_B
3-Newcomer

How to access Files on system drives such as C drive using thingworx thing service?

Im having one thingworx repository thing to store files which i will be accessing from c drives and once i have the files from c drive in thingworx i will further process it and will store it into the file repository of that thing.

Im not sure how to do it because i have used few services to access files on C drive of system but it thows invalid child error and im also not sure about thingworx even allows that or not so trying get some knowledge and help on that here. 

ACCEPTED SOLUTION

Accepted Solutions
VladimirRosu
19-Tanzanite
(To:Mayur_B)

Hi @Mayur_B ,

 

It's not a question on whether ThingWorx can do it, but instead it's related to the rights the Tomcat's user has. As a best practice, the user under which Tomcat runs has read/access writes specifically to the Tomcat's folder and to the ThingWorx Platform and ThingWorx Storage folders.

That user should not have rights to any other folders outside of these two, in order to reduce the risk of having security issues (eg: someone could read unintended information from C or worse...). I'm writing should in bold, because it's up to how you configure the rights of that user, in case you're hosting on-premise (or your own Azure subscription) but you should really approach this by copying those files through another process in the FileRepository folders.

In case it helps, there's a way to move the contents of all the FileRepositories: that's defined here . Probably obviously, but you should also set the same Tomcat user rights only for this folder (not for the root drive).

 

VladimirRosu_0-1744019656721.png

 

 

View solution in original post

2 REPLIES 2
VladimirRosu
19-Tanzanite
(To:Mayur_B)

Hi @Mayur_B ,

 

It's not a question on whether ThingWorx can do it, but instead it's related to the rights the Tomcat's user has. As a best practice, the user under which Tomcat runs has read/access writes specifically to the Tomcat's folder and to the ThingWorx Platform and ThingWorx Storage folders.

That user should not have rights to any other folders outside of these two, in order to reduce the risk of having security issues (eg: someone could read unintended information from C or worse...). I'm writing should in bold, because it's up to how you configure the rights of that user, in case you're hosting on-premise (or your own Azure subscription) but you should really approach this by copying those files through another process in the FileRepository folders.

In case it helps, there's a way to move the contents of all the FileRepositories: that's defined here . Probably obviously, but you should also set the same Tomcat user rights only for this folder (not for the root drive).

 

VladimirRosu_0-1744019656721.png

 

 

Thanks for your response VladimirRosu.

Announcements


Top Tags