Accessing a Firebase-deployed App over a VPN - windows

I built an app to offer a client of the company I work for that I deployed to Firebase. It uses Firebase storage for retrieving files as well as the realtime database. It's actually just the front-end portion of a two-app suite I made; the backend portion is used by an admin for uploading files, checking data, etc --- which data then becomes available to view over the frontend. Both use firebase.
It turns out the devices that would need to access the app (tablets mostly) are inside of an extranet with a server that can establish VPN connections only. Now I'm being asked how I can build the app so these devices can access the app.
I don't know much about the inner-workings of Firebase but it seems to me I may have couple of options:
1) Figure out how to make the FB database accessible over VPN (preferable)
2) Reconfigure the app to use something like MongoDB. Instead of deploying on a remote server, let the on-site server service the devices using the app. Send files that are needed by the server via FTP over the VPN, then process these files on-site.
Problem: I'm using a Mac and the on-site server uses Windows. It will be a pain to install things on a Windows machine remotely, let alone set up the VPN.
Any ideas? I'm sure there are parts of this question where I've made wrong assumptions --- I've never needed to do things over a VPN before.

Related

Connection to HTTPS server offline with a PWA

currently I am working on PWA (progressive web app) that needs fully functional offline capabilities. Currently the client is hosted on Heroku and is fully functional offline, besides one key feature. The PWA is not able to connect to the local server I am running from a separate computer. I made a self-signed cert so the localhost server computer is able to connect to it's running server via HTTPS; but I am unable to connect a different computer on the LAN to the same server. I'm fairly new to certificates and how they work, and I can't seem to figure this one out.
Just needed to make a server endpoint where I could accept the certificate. This was weird initially because the application is a SPA. So currently the user would have to differ for the initial setup.

I'm trying to share a web app I created with PHP,HTML,CSS and JS

I created an app with the above mention technologies, and I hosted it on local server of XAMPP, now I'm trying to figure out how to share this checkout system app with 4 other coworkers, so they can easily access the app on their on PC and checkout equipment to other customers when I'm not around.
We are all on the same network, wired LAN.
Thanks for any help.
This solved what I'm basically trying to do, because all computers where on the same network.
I did IPCONFIG, in cmd to view my IPV4, then went to a different PC, knowing my IP4V, I went into a browser on a different PC and did
http://192.168.XX.XXX/SomeFolderInSidehtcdoc/myappfolder/index.php
and behold it opened, I entered data into it, and checked out my database and same data were available.

Creating an android studio project to run queries on a google cloud sql server using jdbc driver

I have an cloud sql instance up and running and have made a link using a jdbc driver to the instance ip using android studio project. I can successfully run queries from an ip address that I insert manually into the google cloud sql settings and not any other network. This makes my app accessible only from certain ip addresses. Is there a way i can authenticate my google cloud sql to all ip addresses. I do not wish to use the google app engine if possible as I believe it will only complicate my application. My app works well enough is there an easy way to access my sql from any network having supplied my username and password in the code itself?
You can use the console to authorize 0.0.0.0, which will allow connections from any IP address. However, this is not necessarily a good solution. If you embed your database's username and password in your Android app, it can be found by someone else taking apart the apk. If they do that, they will then have complete access to your database. It is more complicated, but you should put some kind of server in front of your database, and have the user authenticate with that server/application, and only have that server communicate directly with your database.

Does an online Android application generated by GeneXus connect to the database?

I'm using GeneXus X Evolution 3 and I want to install it in a production environment.
The web app works well, but the android one does not. It fails when starting.
Does the android app connect to the database hosted in the server? If so, how do I need to configure ports or what do I need to set in the datastore properties?
The native android application does not access your database. It accesses REST services hosted in your applications server and those connect to the database.
So what you have to set is the Services URL property.
If you have problems accessing the REST services, you may have some issues related to URL Rewrite or other common issues.

How to bring a server online and link it to parse.com?

I have a server of my own running locally on my wifi, on 0.0.0.0:5000.
I have built an app with the parse.com backend, and I want to link this server to Cloud Code, so I can call functions on it.
I am completely lost and don't know where to start to bring my server online with only Parse being able to access it and use its API.
Or am I better off renting a VPS and connecting to that?

Resources