Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jignesh Parekh
  Where is Jignesh Parekh?
 Rajkot
 India
 Jignesh Parekh
 To: Shaheryar Rashed
  Where is Shaheryar Rashed?
 Multan
 Pakistan
 Shaheryar Rashed
 Tags
Subject: RE: Protection
Thread ID: 289062 Message ID: 289120 # Views: 45 # Ratings: 0
Version: Visual FoxPro 6 Category: Security and Application Protection
Date: Tuesday, December 28, 2010 2:09:03 PM         
   


> Hi Experts!
>
> I distributed Counter sales software to my clients
> it maintain stock of departmental stores and control sales invoicing etc.
> i sold it to my 2 clients
> One day i saw my software at 3rd departmental store.......!!!!!
>
> an operator sold my software to them...... Oh My God!!!!
>
> now i need help to secure my system
>
> one idea in my mind is to get serial number of Hard disk of my client and add it in main Exe file so that if anyone try to install it at any other PC he get my permission
>
> is it possible?????
> please give me suggestions
> Thanks!

I prefer to use USB Disk's Serial no instead of HD.

Local wsScript As Scripting.FileSystemObject
wsScript = Createobject("Scripting.FileSystemObject")

For Each lobj In wsScript.Drives

	If lobj.Drivetype = 1 && Removable Drive
		?lobj.SerialNumber
		If lobj.SerialNumber = "SerialYouStoredInEncryptedFile"
			*-- Execute your form e.g. Do Form YourForm
		Endif
	Endif
Endfor


Regards,
Jignesh Parekh
--------------------------------------------------------------------------------------------------------------------------------
If better is possible, Good is not enough.

ENTIRE THREAD

Protection Posted by SHAHERYAR RASHED @ 12/28/2010 8:08:21 AM
RE: Protection Posted by piyush Vaishnawswami @ 12/28/2010 8:24:48 AM
RE: Protection Posted by SHAHERYAR RASHED @ 12/28/2010 8:49:05 AM
RE: Protection Posted by piyush Vaishnawswami @ 12/28/2010 8:55:27 AM
RE: Protection Posted by SHAHERYAR RASHED @ 12/28/2010 9:08:11 AM
RE: Protection Posted by piyush Vaishnawswami @ 12/28/2010 9:10:24 AM
RE: Protection Posted by SHAHERYAR RASHED @ 12/28/2010 9:17:04 AM
RE: Protection Posted by piyush Vaishnawswami @ 12/28/2010 9:18:17 AM
RE: Protection Posted by SHAHERYAR RASHED @ 12/28/2010 9:26:38 AM
RE: Protection Posted by Samir H. @ 12/28/2010 10:44:22 AM
RE: Protection Posted by Mike Gagnon @ 12/28/2010 1:56:49 PM
RE: Protection Posted by Mike Gagnon @ 12/28/2010 2:03:13 PM
RE: Protection Posted by Jignesh Parekh @ 12/28/2010 2:09:03 PM
RE: Protection Posted by Jack Ryan @ 12/29/2010 8:20:01 PM