Xojo Conferences
XDCMay2019MiamiUSA

Plugin Questions (Real Studio Plugins Mailinglist archive)

Back to the thread list
Previous thread: Ambiguous overloading for this method call
Next thread: Is there a way to create ObjectArray and return it


Plugin Questions   -   Marc Van Olmen
  Re: Plugin Questions   -   Chris Dillman
  Re: Plugin Questions   -   Christian Schmitz
  Re: Plugin Questions   -   Marc Van Olmen
   Re: Plugin Questions   -   Will Leshner
   REAL structures   -   Nick Lockwood
  re: Plugin Questions   -   Marc Van Olmen

Plugin Questions
Date: 25.01.03 20:56 (Sat, 25 Jan 2003 14:56:10 -0500)
From: Marc Van Olmen
Hi,

I'm starting to explore a few Commercial plugin projects for RealBasic now
that they are having also a developer Kit on Windows....

I have question in protection of the plugin:

Is it possible for example to query inside the plugin the Serial number of
the User or his Name? I want to encrypt in my plugin serialnumber this name
or checksum of the serial number, so I'm a little bit more certain that the
person in question paid for the plugin otherwise the plugin will turn itself
automatically to demo mode.

Other ideas always welcome.

marc

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: Plugin Questions
Date: 25.01.03 21:03 (Sat, 25 Jan 2003 14:03:23 -0600)
From: Chris Dillman
>Hi,
>
>I'm starting to explore a few Commercial plugin projects for RealBasic now
>that they are having also a developer Kit on Windows....
>
>I have question in protection of the plugin:
>
>Is it possible for example to query inside the plugin the Serial number of
>the User or his Name? I want to encrypt in my plugin serialnumber this name
>or checksum of the serial number, so I'm a little bit more certain that the
>person in question paid for the plugin otherwise the plugin will turn itself
>automatically to demo mode.
>
>Other ideas always welcome.

At the simplest you can build a encryption system into the Plug In.
The user sends in a string with their name and serial number and there
plug in check it when initialized.

Remember all of these techniques CAN be hacked.
But this kind of approach should work fine for most people.

The plug is C/C++ you can embedded any kind of constants or
encryption routines you want and have the end use have to call a
Register method on your plug in before it will work out of demo mode.

Re: Plugin Questions
Date: 25.01.03 23:17 (Sat, 25 Jan 2003 23:17:14 +0100)
From: Christian Schmitz
> Hi,
>
> Is it possible for example to query inside the plugin the Serial number of
> the User or his Name?

Sure. Ask him.

> I want to encrypt in my plugin serialnumber this name or checksum of the
> serial number, so I'm a little bit more certain that the person in
> question paid for the plugin otherwise the plugin will turn itself
> automatically to demo mode.

Well, you have two choices.
Like Björn Eiríksson (Einhugur Software) you can encrypt the full
version plugin and give a decrypting application to the users.
If they have a valid key, the plugin is unlocked and marked with a
watermark.

Other way is like e.g. me. The user call a Register function on the
start of the application and an internal property is set so no
registration dialog will pop up in the future.

Mfg
Christian

--

Re: Plugin Questions
Date: 26.01.03 16:49 (Sun, 26 Jan 2003 10:49:07 -0500)
From: Marc Van Olmen
> Well, you have two choices.
> Like Björn Eiríksson (Einhugur Software) you can encrypt the full
> version plugin and give a decrypting application to the users.
> If they have a valid key, the plugin is unlocked and marked with a
> watermark.
>
> Other way is like e.g. me. The user call a Register function on the
> start of the application and an internal property is set so no
> registration dialog will pop up in the future.

Ok that is what I want to do, but I think I have to be a little bit more
clear:

For example user register the software on my site:

At the moment he register: he gives me the following:

'Realbasic Serial Number or User name' For example AAAAAA

Them my server will generate a unqiue serial number
For example: BBBBBB

Now indeed when he want's to use the plugin he has to call first a Register
function: so somethlink like:

MyPlugin.Register("BBBBBB")

So now inside the plugin (in the C/C++ Part) I want to verify if the Serial
Number is not only valid but also if that serial number is only being used
by a person that has as Realbasic serial number 'AAAAAA'

So If I want to do that I need to have some RealBasic SDK function that
allows me to retrieve the current RealBasic Serial Number in C.

So it is important the difference the User doesn't pass the RealBasic Serial
number "AAAAAA" to my own register functions:

MyPlugin.Register("BBBBBB","AAAAAA")

So this above isn't what I want to do I want

MyPlugin.Register("BBBBBB") and my plugin retrieves the ""AAAAAA" by itself.

Thx,

Marc
Ps I'm aware of that people can cheat of course and hack this but it just
gives a little more protection.

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

Re: Plugin Questions
Date: 26.01.03 17:11 (Sun, 26 Jan 2003 08:11:56 -0800)
From: Will Leshner
You are only going to allow people to use your plugin with a certain
version of RB? Every time RS comes out with a new version of RB they
will have to renew their license for your plugin?

Just want to make sure I understand what you are after.

On Sunday, January 26, 2003, at 07:49 AM, Marc Van Olmen wrote:

> So now inside the plugin (in the C/C++ Part) I want to verify if the
> Serial
> Number is not only valid but also if that serial number is only being
> used
> by a person that has as Realbasic serial number 'AAAAAA'


---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>

re: Plugin Questions
Date: 27.01.03 16:27 (Mon, 27 Jan 2003 10:27:02 -0500)
From: Marc Van Olmen
> You are only going to allow people to use your plugin with a certain
> version of RB? Every time RS comes out with a new version of RB they
> will have to renew their license for your plugin?
>
> Just want to make sure I understand what you are after.
Yes that what I want to do but instead of the Serial I can also take the
username because that doesn't change much. But normaly the serial number
changes only once a year, so in my opinion not a big problem for a serious
developer.

It is just that if you want to make your living with plugin's it is
important to add some extra protection.

Any thoughts?

marc

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/KBDB/search.php>

Unsubscribe:
<mailto:<email address removed>>

Subscribe to the digest:
<mailto:<email address removed>>