Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2007

Tip: Looking for answers? Try searching our database.

Distributing a Java app as a TrialWare

Thread view: 
Dexter - 25 Oct 2007 11:07 GMT
I have developed some application software in Java language that I
plan to distribute to end users as a trialware.

How can I make the Java app work for a limited time. Say for a month

A note to Andrew: This is the feature I tried to implement with
updating a file contained in the Jar file
Andrew Thompson - 25 Oct 2007 11:18 GMT
>I have developed some application software in Java language that I
>plan to distribute to end users as a trialware.
>
>How can I make the Java app work for a limited time. Say for a month

Oh, that is horrible.  *

>A note to Andrew: This is the feature I tried to implement with
>updating a file contained in the Jar file

* To be honest (OK blunt), this is not something I am
likely to expend time helping with.

Signature

Andrew Thompson
http://www.athompson.info/andrew/

Bent C Dalager - 25 Oct 2007 11:34 GMT
>I have developed some application software in Java language that I
>plan to distribute to end users as a trialware.
>
>How can I make the Java app work for a limited time. Say for a month

Have it call your server every time it launches (and once every 24
hours if left to run for that long) and perform some hard-to-spoof
communication whereby your server tells the app whether it should
function or not. Of course, this requires your users to always be
online when using the app.

>A note to Andrew: This is the feature I tried to implement with
>updating a file contained in the Jar file

You cannot really achieve this by checking local data and doing local
actions. The user can easily set back his clock, run the app in a VM,
etc., which will tend to screw up your checking.

Note: it is probably a bad idea to do any of the above. It will
introduce entirely new catastrophic points of failure and even if you
get the mechanism to work 100%, it is still going to alienate a number
of potential customers who are really pissed that it just suddenly
stopped working after a month. Even users who don't pay for your app
tend to contribute to your earnings by spreading the word to their
friends, some of whom will pay - /unless/ said non-payers get burned
by sudden deactivation in which case they will instead be telling
their friends how much your software sucks.

But, if you have extensively researched your market and determined
that product deactivation isn't going to have such negative effects on
your target audience, server-based (and probably registration key
based) authentication is the way to go.

Cheers,
    Bent D
Signature

Bent Dalager - bcd@pvv.org - http://www.pvv.org/~bcd
                                   powered by emacs

Patricia Shanahan - 25 Oct 2007 11:45 GMT
...

> Note: it is probably a bad idea to do any of the above. It will
> introduce entirely new catastrophic points of failure and even if you
[quoted text clipped - 5 lines]
> by sudden deactivation in which case they will instead be telling
> their friends how much your software sucks.
...

Deactivation does not need to be sudden. I've used trial ware that
showed a dialog each time it started pointing out that it is trial
software and saying how many days remain.

Patricia
Roedy Green - 26 Oct 2007 08:23 GMT
>How can I make the Java app work for a limited time. Say for a month

see http://mindprod.com/jgloss/installer.html

A very simple scheme just pokes the install date into the registry
using the Preferences mechanism.

See http://mindprod.com/jgloss/preferences.html
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

Dexter - 01 Nov 2007 12:47 GMT
On Oct 26, 12:23 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:

> >How can I make the Java app work for a limited time. Say for a month
>
[quoted text clipped - 7 lines]
> Roedy Green Canadian Mind Products
> The Java Glossaryhttp://mindprod.com

Thanks Roedy, thats exactly what I needed

Regards

Asad
Hunter Gratzner - 01 Nov 2007 15:14 GMT
> On Oct 26, 12:23 pm, Roedy Green <see_webs...@mindprod.com.invalid>
> wrote:
> > A very simple scheme just pokes the install date into the registry
> > using the Preferences mechanism.
>
> > Seehttp://mindprod.com/jgloss/preferences.html

> Thanks Roedy, thats exactly what I needed

That's hackable in less than five minutes. I wouldn't consider it
worth the lines of code needed to implement such a "protection".
Patricia Shanahan - 01 Nov 2007 16:16 GMT
>> On Oct 26, 12:23 pm, Roedy Green <see_webs...@mindprod.com.invalid>
>> wrote:
[quoted text clipped - 6 lines]
> That's hackable in less than five minutes. I wouldn't consider it
> worth the lines of code needed to implement such a "protection".

It may be useful for honest but forgetful users, by reminding them that
it is trialware and how long the trial has to run.

Patricia
Roedy Green - 02 Nov 2007 01:14 GMT
On Thu, 01 Nov 2007 14:14:58 -0000, Hunter Gratzner
<a24900@googlemail.com> wrote, quoted or indirectly quoted someone who
said :

>That's hackable in less than five minutes.

Depends on your audience. Your average user today could not even
delete or restore a file, much less probe the registry.

Just a bit of camouflage for the key and value should do it for 99% of
your users.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com

bbound@gmail.com - 03 Nov 2007 06:58 GMT
On Nov 1, 8:14 pm, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> On Thu, 01 Nov 2007 14:14:58 -0000, Hunter Gratzner
> <a24...@googlemail.com> wrote, quoted or indirectly quoted someone who
[quoted text clipped - 7 lines]
> Just a bit of camouflage for the key and value should do it for 99% of
> your users.

Why are you helping him to do something as evil and stupid as make his
software less useful and less valuable after going to all the work he
has to make it in the first place?
Hunter Gratzner - 03 Nov 2007 11:20 GMT
On Nov 2, 1:14 am, Roedy Green <see_webs...@mindprod.com.invalid>
wrote:
> Depends on your audience. Your average user today could not even
> delete or restore a file, much less probe the registry.

But your average user can operate a torrent client just fine.

> Just a bit of camouflage for the key and value should do it for 99% of
> your users.

And all it takes is one of the remaining 1% to hack it and place it on
a p2p network.
Roedy Green - 03 Nov 2007 16:45 GMT
On Sat, 03 Nov 2007 10:20:02 -0000, Hunter Gratzner
<a24900@googlemail.com> wrote, quoted or indirectly quoted someone who
said :

>And all it takes is one of the remaining 1% to hack it and place it on
>a p2p network.

If you are worried about a dedicated hacker cracking your code, you
probably should not even be distributing class files.

See http://mindprod.com/jgloss/obfuscator.html

Frequent updates with slight variations in obfuscation might be the
best defence, even if the updates are utterly trivial.  Your hacker
will  get bored recracking your code.  He is doing it for the
challenge.
Signature

Roedy Green Canadian Mind Products
The Java Glossary
http://mindprod.com



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.