Remote blocking an application

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Remote blocking an application

Post by driessen »

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 :

Code: Select all

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,[/quote][/code]
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post by Jeff Barnes »

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 12.01, xHarbour 1.2.1, Bcc582)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Michel,

Do you have a FTP server ?

Please review fwh\samples\FtpDir.prg
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

Post by Otto »

Jeff,

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

Regards,
Otto
Gale FORd
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston
Contact:

Post by Gale FORd »

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.
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Post by driessen »

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. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Post Reply