Author: mbsoftwaresolutions@mbsoftwaresolutions.com
Posted: 2014-05-27 10:12:34 Link
I'm wondering how to identify the user's IP address so we can apply
tighter security. (MySQL allows you to restrict access by IP address.)
How do you get the person's true IP (and not just the internal network
IP)? Do you do a TraceRt and someone glean it from that?
Thanks!
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/909d8c7a78a118a05418e7b2e61429a2@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Dave Crozier
Posted: 2014-05-27 10:15:34 Link
Dave
-----Original Message-----
From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com
Sent: 27 May 2014 16:13
To: profox@leafe.com
Subject: How to identify a person's IP address from your VFP app?
I'm wondering how to identify the user's IP address so we can apply tighter security. (MySQL allows you to restrict access by IP address.)
How do you get the person's true IP (and not just the internal network IP)? Do you do a TraceRt and someone glean it from that?
Thanks!
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/18725B8CD2D5D247873A2BAF401D4AB22A510D72@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Dave Crozier
Posted: 2014-05-27 10:17:58 Link
The strange and weird hidden wonders of Winsock!
Dave
-----Original Message-----
From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Dave Crozier
Sent: 27 May 2014 16:16
To: ProFox Email List
Subject: RE: How to identify a person's IP address from your VFP app?
Dave
-----Original Message-----
From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com
Sent: 27 May 2014 16:13
To: profox@leafe.com
Subject: How to identify a person's IP address from your VFP app?
I'm wondering how to identify the user's IP address so we can apply tighter security. (MySQL allows you to restrict access by IP address.)
How do you get the person's true IP (and not just the internal network IP)? Do you do a TraceRt and someone glean it from that?
Thanks!
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/18725B8CD2D5D247873A2BAF401D4AB22A510D8E@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: mbsoftwaresolutions@mbsoftwaresolutions.com
Posted: 2014-05-27 10:24:01 Link
On 2014-05-27 11:15, Dave Crozier wrote:
>
> Dave
Thanks, Dave. I'll try that code later today. (Not sure why the same
code is posted several times in that thread?!??)
Have you successfully used this code, Dave?
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/76813035dc62778516609d34ce206e34@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Dave Crozier
Posted: 2014-05-27 10:25:43 Link
Yes I have and if I remember correctly there were a couple of typo's. I'll dig our my mods and let you have them.... a couple of hours...
Dave
-----Original Message-----
From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com
Sent: 27 May 2014 16:24
To: ProFox Email List
Subject: RE: How to identify a person's IP address from your VFP app?
On 2014-05-27 11:15, Dave Crozier wrote:
> http://social.msdn.microsoft.com/Forums/en-US/f94c2cbc-31d2-4397-ab41-
> c1c0725b8be9/get-external-ip-adress?forum=visualfoxprogeneral
>
> Dave
Thanks, Dave. I'll try that code later today. (Not sure why the same code is posted several times in that thread?!??)
Have you successfully used this code, Dave?
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/18725B8CD2D5D247873A2BAF401D4AB22A510DB3@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: mbsoftwaresolutions@mbsoftwaresolutions.com
Posted: 2014-05-27 10:30:17 Link
On 2014-05-27 11:25, Dave Crozier wrote:
> Yes I have and if I remember correctly there were a couple of typo's.
> I'll dig our my mods and let you have them.... a couple of hours...
Many many thanks, Dave. I look forward to your email and will post my
outcome.
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/0a06bb8dc6dddba86b3ac806fd54004d@mbsoftwaresolutions.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Richard Kaye
Posted: 2014-05-27 10:32:41 Link
The VFP2C library has a function called RESOLVEHOSTTOIP. Of course, you would have to know the external host name of the user's network.
--
rk
-----Original Message-----
From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com
Sent: Tuesday, May 27, 2014 11:30 AM
To: profoxtech@leafe.com
Subject: RE: How to identify a person's IP address from your VFP app?
On 2014-05-27 11:25, Dave Crozier wrote:
> Yes I have and if I remember correctly there were a couple of typo's.
> I'll dig our my mods and let you have them.... a couple of hours...
Many many thanks, Dave. I look forward to your email and will post my outcome.
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD044239A6092FD@ACKBWDDQH1.artfact.local
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Stephen Russell
Posted: 2014-05-27 10:36:22 Link
On Tue, May 27, 2014 at 10:24 AM, <
mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:
> <http://mail.leafe.com/mailman/listinfo/profoxtech>
-----------------
Parse this out?
--
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN
901.246-0159 cell
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAJidMY+FJFhavHvQWcUMC-LpTTVyQqrMupg2pCykqNtMn2mrHw@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Dave Crozier
Posted: 2014-05-27 10:38:23 Link
Just looked at my notes and wse had a problem with that routine getting past the firewall and ended up with this:
#define TIMEOUT 30 && timeout 30 seconds
o = createobject("internetexplorer.application")
o.Navigate("http://www.atoutfox.org/ip.asp")
v_t = SECONDS()
* DO WHILE o.busy() AND (seconds() -v_t) <= TIMEOUT
DO WHILE o.ReadyState<>4 AND (seconds() -v_t) <= TIMEOUT
DOEVENTS
ENDDO
IF o.ReadyState<>4
v_ip = "0.0.0.0"
else
v_ip = o.document.nameprop()
ENDIF
RELEASE o
? "Your IP address is : ", v_ip
Hope it helps
Dave
-----Original Message-----
From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of mbsoftwaresolutions@mbsoftwaresolutions.com
Sent: 27 May 2014 16:13
To: profox@leafe.com
Subject: How to identify a person's IP address from your VFP app?
I'm wondering how to identify the user's IP address so we can apply tighter security. (MySQL allows you to restrict access by IP address.)
How do you get the person's true IP (and not just the internal network IP)? Do you do a TraceRt and someone glean it from that?
Thanks!
[excessive quoting removed by server]
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/18725B8CD2D5D247873A2BAF401D4AB22A510DFB@EX2010-A-FPL.FPL.LOCAL
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.
Author: Stephen Russell
Posted: 2014-05-27 10:38:41 Link
Read this as well:
http://ipecho.net/developers.html
Cache your return! You don't need to fire off for every user all the time.
On Tue, May 27, 2014 at 10:36 AM, Stephen Russell <srussell705@gmail.com>wrote:
>
>
>
> On Tue, May 27, 2014 at 10:24 AM, <
> mbsoftwaresolutions@mbsoftwaresolutions.com> wrote:
>
>> <http://mail.leafe.com/mailman/listinfo/profoxtech>
>
>
> -----------------
>
>
> Parse this out?
>
>
>
>
> --
> Stephen Russell
> Sr. Analyst
> Ring Container Technology
> Oakland TN
>
> 901.246-0159 cell
>
--
Stephen Russell
Sr. Analyst
Ring Container Technology
Oakland TN
901.246-0159 cell
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/CAJidMY+hCGAU-u=gt0=oBzdo2768pbue+cQHhh6W5_Oc3MmFTw@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.