FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Remote blocking an application
Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Remote blocking an application
Posted: Wed May 07, 2008 01:59 PM
Hello,

Everyone of us who are working with customers do have customers now and then who aren't paying their invoices.

Therefor I want to develop a remote blocking system so I am able to block an application on a customers PC whenever I want to do that.

To get this, I have this idea :

Every customer of mine do have a customer number. If I put a file on my website (for instance "12345.TXT" for customer nr. 12345), I want to check if this file exists. If it exists, the application is blocked until I delete the file on my website.

My problem is : how can I check if a file is existing on a website ?

I tried to use this code :
IF FILE("http://www.mywebsite.be/12345.txt")

but unfortunately (but also understandable), this isn't working.

How can I check the existance of a file on a website in FWH ?

Or does anyone have another idea for any system to block an application remotely ?

Thank you very much in advance for any help.

Regards,[/code]

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Remote blocking an application
Posted: Wed May 07, 2008 02:35 PM

driessen,

If you want to use the internet to enable / disable a customer from using the program you do not want to stop the program if the file IS on the internet, instead stop the program if it is NOT on the internet.

The reason for this is ... if they simply disconnect the computer from internet or use firewall software like ZoneAlarm to block internet access to that program then the file is not found so the app will run.

Keep in mind that using this type of protection forces all of your clients to have their systems connected to the internet. If they have a problem with their internet connection the app will not be able to run, even if they are a customer in good standing.

I hope this makes sense

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Remote blocking an application
Posted: Wed May 07, 2008 02:37 PM

Michel,

Do you have a FTP server ?

Please review fwh\samples\FtpDir.prg

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
Remote blocking an application
Posted: Wed May 07, 2008 05:09 PM

Jeff,

I don’t think such a system is within the legal norms.
Did you check that?

Regards,
Otto

Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Remote blocking an application
Posted: Wed May 07, 2008 07:09 PM

It would probably be better for a timeout/renewal process. If they did not pay you then they could not get the program updated to continue using it.

Posts: 1467
Joined: Mon Oct 10, 2005 11:26 AM
Remote blocking an application
Posted: Wed May 07, 2008 11:53 PM

Thanks guys, for your information.

It seems to me that it's better not to do such a blocking.

Case closed as far as I am concerned.

Regards,

Regards,

Michel D.
Genk (Belgium)


_____________________________________________________________________________________________

I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773

Continue the discussion