FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Need IP adres from every user in my program
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Need IP adres from every user in my program
Posted: Sun May 14, 2017 09:20 AM

Hello,

I have a member program for online editing data with FWH and Maria.

Now, only when I put the online-IP adress from each trainer in my whitelist from the provider, they have access to the database
else, no access.

I have also a php based web application and there people can access data without having there IP adres ?

The sample from Mr. Rao in FWmaria (connects to his online test server, and they don't have the IP from every one)

What do I have to do in my program?

What is the difference ?

Marc Venken

Using: FWH 23.08 with Harbour
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
Re: Need IP adres from every user in my program
Posted: Sun May 14, 2017 02:07 PM
Marc

Not to be ugly .. but does your bank require your IP address be on file and your computer to have a DHCP issued IP address within that base range for you to be able to access your Account ?


I have also a php based web application and there people can access data without having there IP addresd ?

Just my 2 cents here .. An external UserId and Password would be a better solution where ever you cannot enforce SSO with WNetGetUser(). If you really want to be creative .. you can implement a dual authentication process .. where upon a successful login .. you send the user via text a code to confirm their access.

Rick Lipkin
Posts: 1487
Joined: Tue Jun 14, 2016 07:51 AM
Re: Need IP adres from every user in my program
Posted: Mon May 15, 2017 08:20 PM
Rick, It's not my choice of doing it that way. I never needed to give my IP to someone's program....and I don't even want that my trainers need to do it.

They should be able to log into the database with a single user and PW.

Even when I erase my one IP from the list, I get a access error, like the trainers get.



My hosting provider told me that I have to put the IP's into the whitelist, but I believe that they have it wrong. (I will ask again)
Marc Venken

Using: FWH 23.08 with Harbour

Continue the discussion