Click here to Skip to main content
15,886,067 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Internet to USB application Pin
Iain Clarke, Warrior Programmer14-Apr-09 4:02
Iain Clarke, Warrior Programmer14-Apr-09 4:02 
GeneralRe: Internet to USB application Pin
2buck5614-Apr-09 5:01
2buck5614-Apr-09 5:01 
QuestionSet Class - Insert Function Pin
aab1990213-Apr-09 7:28
aab1990213-Apr-09 7:28 
AnswerRe: Set Class - Insert Function Pin
David Crow13-Apr-09 7:32
David Crow13-Apr-09 7:32 
QuestionDetect copied file? Pin
steve7606313-Apr-09 6:57
steve7606313-Apr-09 6:57 
AnswerRe: Detect copied file? Pin
David Crow13-Apr-09 7:28
David Crow13-Apr-09 7:28 
GeneralRe: Detect copied file? Pin
steve7606313-Apr-09 8:40
steve7606313-Apr-09 8:40 
GeneralRe: Detect copied file? Pin
Luc 64801113-Apr-09 9:45
Luc 64801113-Apr-09 9:45 
I have seen lots of protection schemes, all free ones are (almost) worthless.
The best solutions are:
1. no protection at all (no hassle for the user, no waste of time for the developer; yes you loose some customers who would not have paid for your product anyway);
2. hardware-dependent protection
2a. encode some characteristic (baseboard number, MAC address, disk number) in a license file; disadvantage: lots of hassle; customers don't like their software to stop functioning when they change some hardware, possibly for good reasons.
2b. idem, with server access instead of license file; disadvantage: same plus needs internet every time.
2c. deliver special hardware device (dongle). Costs ca 30$
2d. link to the serial number of a USB stick (best of all these). Still the hassle.


steve76063 wrote:
Are there any attributes of a copied file that are different from the original that I can use to detect an unauthorized copy?


There is one: the physical sector number on disk. That is how some programs used to get protected on a floppy or CD. But then you could make binary copies of those disks (before first use).
And good luck if you want your app, run by a non-admin, find out its sector number on modern Windows versions (Vista, 7).

Smile | :)
AnswerRe: Detect copied file? [modified] Pin
steve7606313-Apr-09 11:04
steve7606313-Apr-09 11:04 
AnswerRe: Detect copied file? Pin
john563213-Apr-09 19:48
john563213-Apr-09 19:48 
QuestionDeleted File Pin
recmisi13-Apr-09 6:34
recmisi13-Apr-09 6:34 
AnswerRe: Deleted File Pin
David Crow13-Apr-09 9:00
David Crow13-Apr-09 9:00 
GeneralRe: Deleted File Pin
recmisi13-Apr-09 16:33
recmisi13-Apr-09 16:33 
GeneralRe: Deleted File Pin
john563213-Apr-09 19:45
john563213-Apr-09 19:45 
AnswerRe: Deleted File Pin
Divyang Mithaiwala13-Apr-09 20:58
Divyang Mithaiwala13-Apr-09 20:58 
QuestionHow to cancel during serialization on CDocument Pin
Joseph Marzbani13-Apr-09 5:21
Joseph Marzbani13-Apr-09 5:21 
QuestionHow to cancel CDocument::Serialaize()? Pin
Joseph Marzbani13-Apr-09 5:17
Joseph Marzbani13-Apr-09 5:17 
QuestionQuestion on I/O stream and for loop Pin
Mohamed_Khalil13-Apr-09 2:02
Mohamed_Khalil13-Apr-09 2:02 
AnswerRe: Question on I/O stream and for loop Pin
Rajesh R Subramanian13-Apr-09 4:50
professionalRajesh R Subramanian13-Apr-09 4:50 
QuestionRe: Question on I/O stream and for loop Pin
David Crow13-Apr-09 5:08
David Crow13-Apr-09 5:08 
QuestionCalling a VS2008 DLL from VS 6.0 dll Pin
rana ray13-Apr-09 0:43
rana ray13-Apr-09 0:43 
AnswerRe: Calling a VS2008 DLL from VS 6.0 dll Pin
_AnsHUMAN_ 13-Apr-09 1:10
_AnsHUMAN_ 13-Apr-09 1:10 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
Rajesh R Subramanian13-Apr-09 1:26
professionalRajesh R Subramanian13-Apr-09 1:26 
GeneralRe: Calling a VS2008 DLL from VS 6.0 dll Pin
_AnsHUMAN_ 13-Apr-09 1:34
_AnsHUMAN_ 13-Apr-09 1:34 
AnswerRe: Calling a VS2008 DLL from VS 6.0 dll Pin
Rajesh R Subramanian13-Apr-09 1:13
professionalRajesh R Subramanian13-Apr-09 1:13 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.