Any thoughts on security

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Any thoughts on security

Post by edk »

To read the location of the device, it must have a geolocation receiver, such as GPS. Such a receiver can be communicated with via a physical RS232 port or a virtual one, such as Bluetooth or USB. As I'm guessing, your programs run on PCs, so each computer would have to be equipped with a GPS receiver, which is unlikely to be possible (unless you provide such a GPS receiver to the client along with your program). An alternative may be geolocation by public IP address, but it is not very accurate and basically indicates the area of the local province (the area may reach a radius of up to hundreds of km). Besides, if the client uses a VPN, he can hide his real IP address and thus hide his approximate location.
User avatar
AUGE_OHR
Posts: 2093
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: Any thoughts on security

Post by AUGE_OHR »

Hi Franco,

try : "curl -4 ifconfig.co/json" to get Entry Point of Internet Connection
and you will get "city", "latitude" an "longitude" in JSON Format

but it depend on Provider, so if Customer change Provider also Entry Point of Internet Connection may change
have fun
Jimmy
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Any thoughts on security

Post by edk »

AUGE_OHR wrote: Thu Jun 27, 2024 4:45 am Hi Franco,

try : "curl -4 ifconfig.co/json" to get Entry Point of Internet Connection
and you will get "city", "latitude" an "longitude" in JSON Format

but it depend on Provider, so if Customer change Provider also Entry Point of Internet Connection may change
This is the geolocation by IP. If you are in a provincial city then the location will match, if you are in a small town far away from the provincial city then it will show the location not yours but just the provincial city. This is how it is in Poland.
franco
Posts: 877
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Any thoughts on security

Post by franco »

I am using postal code which is good for North America. This is where I provide my program to. I just wanted to add one more step of security.
In business environment this is pretty good but not 100 percent
All The Best,
Franco
Canada
Post Reply