The safest way to do this would be to create an web API (with tokens) to which you can query. This is possible using ASP.NET web API in C#, but is also possible using a LAMP stack using PHP, say if you've already got a website set up like that. My personal preference would be to use NodeJS with express, since with Construct you're already working with Javascript.