Just wondering if SQLitening can be used on a LAN and at the same time over the Internet. I imagine a scenario where users (staff) use the SQLitening Application on a LAN while the Boss accesses or uses the application over the Internet from a remote location.
Any ideas? Thanks.
I know there are security concerns using SQLitening over the Internet. Would using SocketTools with SQLitening solve the security issues?
If using the server everyone can share the server without a problem.
I've read many reasons on the SQLite site why not to use SQLite peer to peer.
I am sure TLS with SocketTools would work by modifying the client and server code, but
the server would require a certificate. I noticed SocketTools added some encryption
code, but that isn't unique to SocketTools. If you create your own certificates is
not suggested, but talking to SocketTools they might be interested.
It would be easy for them.
Thank you for your response.
>>If using the server everyone can share the server without a problem.
Yes I intend to use the server.
The question is how to physically connect the server computer to the client computers. We have 11 remote locations that would want to connect to the server over the internet and 8 client computers that would be connected to server on a LAN since they are in the same building with the server computer.
Hosts=192.168.0.2Logins using slConnect:
The local computers connect to the local IP address or machine name and port of the server.
The remote computers connect to the remote IP address and port of the server.Router:
The router needs to forward the local IP address and port to the server machine.
The IP address at command prompt of server: Type IPCONFIG it is the IPV4 address.
I would use the address reservation page of the router to lock in the IP address of the server
so it never changes if the network is rebooted.
SQLiteningServer.exe needs to be added to "Allow an app through the firewall."Shortcuts:
Mark "Run as Administrator" to SqliteningServer.exe and SqliteningServerAdmin.exeSQLitening is not secure over the internet. Connections are not encrypted or authenticated.
CubeSQL seems to be a lot like SQLitening and uses JSON. It might be an option.
SQLTools might also be an option to consider and use another SQL.
Test server with 12 connections by using threads
GLOBAL gs() AS STRING
FUNCTION PBMAIN () AS LONG
LOCAL x,hThread AS LONG
DIM gs(12) 'each user puts recordset into an element
FOR x = 1 TO UBOUND(gs)
THREAD CREATE MyThread(x) TO hthread
THREAD CLOSE hThread TO hThread
DO:SLEEP 50:LOOP UNTIL THREADCOUNT=1
THREAD FUNCTION MyThread(BYVAL Num AS LONG) AS LONG
DIM s() AS STRING
slselary "select rowid,redref from parts where rowid=" + STR$(Num),s(),"Q9c"
gs(Num) = JOIN$(s(),$CR) 'put into array
Thanks. This is quite useful
I would try it out in a couple of days time.
I am using a VPN service and can connect to the SQLitening server only if using the same dedicated VPN server.
I don't know if a person using the same VPN service could connect to the server from another account or if they need my username and password?
I have sent an email to the VPN service.
That is interesting. I would like to try it out from here.
Business packages start from 5 annual accounts.
Regarding connectivity, yes, you can connect from anywhere in the world to a particular country of our shared servers. You can also purchase a Dedicated server to have one static IP that is not shared between anyone but your team, which you can assign particular users to it and use it per your preferences.
We also have a Back Friday deal going on this very week, if you make a purchase until the end of it.
We could add AES256 to SQLitening's TCP routines.
If you were to purchase this very week, we can offer the following pricing:
Advanced NordVPN Teams package for 75 USD/ user along with a Dedicated gateway/ server for 336 USD for a year.
This at least shows one way to go.
I always thought that routers could be setup or flashed to connect securely to each other?
Another way to go would be to install a VPN server. I would still encrypt the TCP sends and receives.
It is amazing that I can't find much information on people doing this. Looking in the wrong places.
I would definitely check this inexpensive route with Hamachi that installs as a service.
Free up to 5 users, $49 a year for 32 users.
Other VPN's to compare to:
NordVPN has a feature called Internet Kill switch.
The SQLitening server can't be accessed while it is on.
>>Free up to 5 users, $49 a year for 32 users.
I would like to test the free package for 5 users first before purchase.
I am downloading Hamachi from https://vpn.net/
I will do the same.
I was able to sign in and completed downloading and installation. I could not see any help or tutorial file, just the community forum. I did a search for 'getting started' and tutorial and could not anything useful.
Is it that easy that there is no need for the help or tutorial file?
I will look into it later today.
NordVPN worked great.
I don't like the price of the dedicated server.
I will also add AES256 to SQLitening TCP within a few days.
>>I will also add AES256 to SQLitening TCP within a few days.
That will be great.
>>NordVPN worked great.
Were you able to test without payment. Do they have a trial version? Anyway let's see how Hamachi goes.
Paid NordVPN connected with a couple machines using same username/password on one of their servers marked as allowing dedicated connections. Might break terms of service or not work with more machines.
Windows 10 has a built-in VPN server, but I couldn't connect.
Some on the internet say there is a problem introduced in a Windows update.
I got Hamachi to connect, but didn't go any further.
I'll go back to encrypting the TCP data being transmit to the server.
>>I got Hamachi to connect, but didn't go any further.
How did you do it?
It looks like you share a folder and use Windows mapping.
I only connected 2 machines and used chat.
I didn't use SQLite with it.
There are links to PDF files at the bottom of their home page.
Many use it so there must be better docs on the net, don't know where.
Very interesting read:
I have been successfully using SQLitening over a VPN between machines that share the exact same dedicated VPN server using the same user name and password. This might be the best way to go if this is allowed.
I paid nothing extra and didn't need any dedicated IP address (other then share same exact server.)
I will finally have time to work on encrypting SQLitening on 12/3.
>>Very interesting read:
Thanks for the link. Interesting read.