AccesSoft - Articles - Copyprotection
Main | Articles | Links | Map

Wired from unauthorized copying

Such protection necessary if You solve to disturb whomever to do the copy of your program. This in the first place concerns the commercial developments. Though in the event of with Access applications this several points of controversy: but needs to whom that Your program except You and sometimes customer, for which she was done? After all even in such, seamingly, standard applications of the type Storage account enough often happens to that that rules under concrete customer. In this particularity of the spreading database. However, shall consider the way, obstructing copying of the program. The Speech will go about registrations.

To it is impossible was thieve program, her(its) it is necessary to fasten to concrete computer. It Is Done this with the help of special function, defining unique parameters of the machine: number of the winchester, name of the computer, processor, username and t. d. General scheme of the spreading the programs, using service to registrations such:

The Developer liberally spreads the distribution program of the program. When installing on computer and the first start program interviews the computer and forms the unique control total, which is identified "Registration number". Then, the program realizes the transformation of the registration number in "registration key".

"Registration number" is presented user, but in answer user must enter "registration key", which program compare to its.

The User must with developer and report "registration number" program.

The Developer must (having started spec.proceduru registrations) report the user "registration key".

The User enters "registration key". If he correct, that program remembers him(it) and under the further start does not interview the user.

Such scheme allows to do very suitable service: first user скачивает the demo-version of the program, but then if she likes him, registers her(it) and gets полнофункциональную version.

In demo-mode program it is necessary in than that limit. For database this usually restriction on amount of the record, or impossibility of the printout what or important report. It Is Realized this at functions, which is started, for instance, in an effort распечатать report, and if program is not registered, blocks print. Ditto and in the event of with restriction amount record: if on event of the form after renovation hang the procedure, checking registration and considering maximum amount of the record in given table (the source form data), that possible do the condition if record more than possible, that characteristic of the form to Allow the accompaniment assign False and delete spare record.

Form.AllowAdditions = False

Such a restriction marketed in example. The Ithaca, scheme such:

Through макрос AutoExec we start the function SetReferences (), which in turn starts the function isLicense, checking registration. Is it Then read number of the winchester, is encoded (fShifrDrv) and is written in field SystBase official table tAdminCop.

In this макросе after start the functions follows start the start form frmStart. But here is in her, at event Opening occurs the comparison of the number of the winchester with that that is kept in table. Coincide well, no output from exhibit. Such a procedure possible to hang and on other important forms.

If number of the winchester correct, exhibit is opened. If isLicense=True, that полнофункциональный mode, otherwise demo.

For registration of the program (transition in полнофункциональный mode) serves the function RegKluch. She encodes the registration number, formed by program. Beside developer must be generator - a program with similar function. The User sends the developer registration number, developer starts the generator, enters the number in field versions , puts the cursor in field Key - and accordingly gets his(its) (on event focus in field cost(stand)s the procedure RegKluch). Then he refers the key an user.

The User enters the key in field of the form to registrations, жмет Register , and program moves over to full-fledged version.

In applicable example is shown only привязка to number of the winchester. However if user will install another and will call anew to pass the registration? But suddenly, he tells lies, and indeed his(its) has asked familiar, installed Your program and interested person on халяву her to use? So, given system to registrations does not deny, but, on the contrary, requires presence of all rest meanses of protection: администрирование, cryptooperation and MDE-interface. If, for instance, when shaping the registration number is taken into account much constants (for instance, name of the computer, username, name of the processor and etc), that possible registration number to constitute of a parts. For instance, numerals 1 4 - a name of the computer, 5 9 this number of the winchester and t. d. Possible certainly and more slyly, here full liberty creative activity. Now if You will say that have changed the winchester, check, remained former name of the computer, username, version BIOS and t. d. If all changed became to be, You defraud (but can and вправду, have changed all iron ). But, as is well known, iron do not change each week, and single events possible and believe.

Now we shall feel:

We Start exhibit. The registration number appeared On start form, became to be, considered and winchester number зашифровали. Is it In the same way seen that program is not registered. The inscription of the red colour reports About this. ZHmem on button to Open . On appeared form see warning about maximum amount of the record 10. We Check: we enter new record, and on tenth accompaniment is closed.

Now we shall try to register the program. We Open application Generator . We Copy from field Reg. number in buffer importance and insert him(it) in corresponding to field of the form generator. When turning on field Key we get his(its) importance. We Copy him(it) in buffer.

Now on start form of the exhibit жмем button Registration . In appeared form insert from buffer in field importance key, жмем Register . All, program ready to full-fledged functioning. To will make sure in this, shall arouse to enter record in tabular form more 10.

The Example, as so much for works, You may скачать below.

Author: Admin Size: 70 kB It Is Added: 05.02.200

Main | Articles | Links | Map

Copyright 2007 - 2008 AccesSoft. All Rights Reserved