License management system Refrence

75 views
Skip to first unread message

bikash...@gmail.com

unread,
Apr 6, 2021, 2:50:51 AM4/6/21
to Django users
Can any one provide me reference regarding license (Serial Key) server system  in django,
where ,
we can generate unique serial key for products,
we can validate user subscription,
Clients can run demo (limited features),
and with that serial key users can run with limited device,(Device lock)

Hopefully can I get some reference , Pease provide me some materials in django.

Derek

unread,
Apr 6, 2021, 10:22:41 AM4/6/21
to Django users
You seem to be mixing up different aspects here.

1. Trying to control access to a web app through device-level details is *not* a viable option. The whole point of web apps (as opposed to ones installed on a user's machine under a specific OS) is that the machine they are running on is mostly irrelevant.

2. For a demo, you are better off handing out a default user-name and password - and when the demo period has expired, then simply deactivating that user.

3. Assuming that the software is now running & the client has purchased usage for N users; then an app such as this one (https://pypi.org/project/django-limits/) can ensure they do not exceed their allowed number.

4. For generation of an ID to help track products (I assume you mean like goods that are being sold), have a look at the UUIDField - https://www.geeksforgeeks.org/uuidfield-django-models/

HTH
Derek

Ryan Nowakowski

unread,
Apr 7, 2021, 12:31:55 AM4/7/21
to django...@googlegroups.com
What kind of product are you trying to license? A proprietary computer desktop application? A mobile application for iOS or Android? A proprietary self-hosted web app?

Vkash Poudel

unread,
Apr 7, 2021, 2:59:02 AM4/7/21
to django...@googlegroups.com
  Thanks for the reply and reference, 
  1. I want to develop a system like Key Management System(KMS)
  2. where Users can purchase KEY for a service, ie. just like (Product Key or Activation Key)
  3. Validate that key as per their subscription, ie. (Month or Year)
  4. user can use service with only one device in real time
  5. provide some Reference please  

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/847E6643-D082-49A8-B615-973E55B7C3B9%40fattuba.com.


--
Best Regards,
Bikash Poudel

bikash...@gmail.com

unread,
Apr 7, 2021, 3:07:41 AM4/7/21
to Django users

License as per the service

Ryan Nowakowski

unread,
Apr 8, 2021, 6:59:11 PM4/8/21
to django...@googlegroups.com
On Wed, Apr 07, 2021 at 12:43:03PM +0545, Vkash Poudel wrote:

Sorry, I don't have any reference code for you. But here are some things
to think about.

> 2. where Users can purchase KEY for a service, ie. just like (Product
> Key or Activation Key)
What payment backend will you use for the purchasing part? Stripe?

> 3. Validate that key as per their subscription, ie. (Month or Year)
Is the "service" mentioned a web service? If so, the license key could
simply be an API key that must be included with every service API
request, perhaps in the HTTP Authorization header. Then in Django,
check that the licence the API key is tied to hasn't expired. You
could use django-rest-framework for the API and probably the auth.

> 4. user can use service with only one device in real time
How will you determine "usage of the service"? If device A hits the
service API at 9:00:00 and device B hits the service at 9:00:01, is that
allowed?


> On Wed, Apr 7, 2021 at 10:16 AM Ryan Nowakowski <tub...@fattuba.com> wrote:
>
> > What kind of product are you trying to license? A proprietary computer
> > desktop application? A mobile application for iOS or Android? A proprietary
> > self-hosted web app?
> >
> > On April 6, 2021 1:50:51 AM CDT, "bikash...@gmail.com" <
> > bikash...@gmail.com> wrote:
> >>
> >> Can any one provide me reference regarding license (Serial Key) server
> >> system in django,
> >> where ,
> >> we can generate unique serial key for products,
> >> we can validate user subscription,
> >> Clients can run demo (limited features),
> >> and with that serial key users can run with limited device,(Device lock)
> >>
> >> Hopefully can I get some reference , Pease provide me some materials in
> >> django.
> >>
> >> --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to django-users...@googlegroups.com.
> > To view this discussion on the web visit
> > https://groups.google.com/d/msgid/django-users/847E6643-D082-49A8-B615-973E55B7C3B9%40fattuba.com
> > <https://groups.google.com/d/msgid/django-users/847E6643-D082-49A8-B615-973E55B7C3B9%40fattuba.com?utm_medium=email&utm_source=footer>
> > .
> >
>
>
> --
> Best Regards,
> Bikash Poudel
>
> --
> You received this message because you are subscribed to the Google Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE0sOGwdBprTwBnf_HLsCXb3KPdLTSjeee6bMkadayr8zUL9%2BQ%40mail.gmail.com.

Cesar Mojarro

unread,
Apr 9, 2021, 7:02:28 AM4/9/21
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages