license keys generation method for software product [closed] - cryptography

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
We have a software database product that is delivered to a customer. The fees charged are based on a number of factors such as
number of users that can be created
number of database transactions etc
We wanted to give a license key whenever the user pays for some time duration. So the license key should contain such information about the duration of product, number of users/transactions allowed etc..
What is a cryptographically secure way of license key generation (that contains the whole information and can be read securely by our system at their end) to prevent user from any illegal usage.
I know about RSA as a method but how do I go about it? and are there any tools available that i should checkout?

You can generate license files Public-Private key Cryptography, and using RSA.
Please look at this library, you can found this useful.
http://afewguyscoding.com/page/2/
This library people have also done survey, which will give you idea that how good this method works.
There is another github project using similar approach.
Visit https://github.com/starschema/slm4j

Related

How do I access Blackboard API with my username and password? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
trying to develop an application that takes data from a user's respective Blackboard account and display that information in a different way. I have been reading the blackboard API documentation and I guess I have to go to an administrator with an App ID in order for me to obtain this kind of access. What type of information should I provide the admin being as I don't even know what an App ID is, let alone provide it. I'm just a student trying to make my life easier by consolidating information that's already available to me on blackboard. I appreciate any guidance on the development process.
The documentation you'll likely want to start with is at https://docs.blackboard.com/ - of particular note is the REST / Getting Started section. See also the swagger docs for the API, which detail the needed entitlements for each API call.

What is better in Google Cloud? Projects or Instance of vm for every customers? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I'm a web developer and mobile applications. I have several clients which I manage in a hosting service with whm panel. Now I want to start using Google Cloud. My question is whether it is better to create a project for each client or to create a single project with a lot of space and there to store all the pages and databases. Please help me with this because I do not know what is the best practice
From my experience,
If your customer pays a fixed price for hosting it does not matter.
If you charge "pay as you go" then a separate project is the only way you can know how much exactly to charge.
Like Ken says, it is very difficult to predict your needs with so little information. One point to keep in mind: if you ever plan to turn over ownership of the project to the client, then having a separate project for each client will make life so much easier.

Creating a Price tracker system [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I was recently asked the following question in an interview.
"How would you design a system to keep track of a million items at xyz.com ?
The xyz.com could update the prices maybe 2-3 times a day or once per month, so no guarentee on frequency.
Your system should show accurate prices for >95% of items at any given point of time and aim for 99%.
Also scale for 1billion items etc..
"
I asnwered along the lines of creating a distributed system app that would categorize items by priority (based on historical price fluctuations and 80/20 % rule etc) and do API calls more frequently for these.
But I was not allowed to use API calls.
I suggested scraping html content. (But the website can block my ip for such high load)
I basically want to know the resources that would help me anwering these type of questions. Prefer full length courses (Distributed systems ?) or books rather than quick-fix blogs.

iText Volumen License print count [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I know iText Volume license is based on how many PDF is getting printed. I cannot find any documentation how to setup a counter. We have JAR files declared in POM and we are building war file. What else needs to be done?
How is this number of PDFs are calculated? Who calculates them, iText or Customer?
See below, Answer to this question involves programming.
The question is also answered on the official web site: How can I log the number of documents / bytes I've processed?
Customers with a capacity rental license are asked to count the metric that was agreed using the Counter mechanism. We have a very simple SysoCounter class that writes information to the System.out.
You can test this SysoCounter like this:
CounterFactory.getInstance().setCounter(new SysoCounter());
Obviously, it's not very useful to have all that information in the System.out. Depending on how you want to store the document count (e.g. you might want to update a value in a database), you should write your own Counter implementation and use CounterFactory.getInstance().setCounter(yourCounter) to get the mechanism in place.

Advertising Identifier for iAd? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
My app recently got rejected for using an Advertising Identifier, but not including the functionality for it.
The only ads I am using are iAds, so should I say select "yes" for the Advertising Identifier (IFDA) when uploading my app in iTunesConnect?
If I say no, how will they know to add the ads into my app?
No, if you are only using iAd you should not select yes to the Advertising Identifier (IFDA) on iTunesConnect.
An IFDA is a unique identifier for your users that allows for networks to trace what actions the user takes on your application. This, in turn, allows for much more targeted advertising, but takes away from the user's privacy.
You must tell Apple if you use an IFDA, and users must be able to opt-out of being traced using an IFDA. This is to protect users' privacy.
An IFDA is only used if you would like to provide more targeted advertisements to your users. Think of it as a UUID for your user, which is shared with other applications, and allows those applications to communicate about the users actions