Solved

WordPress, WooCommerce, to Authenticate an online service?

Posted on 2016-09-09
2
98 Views
Last Modified: 2016-09-12
I have an online game I will charge $9.99 for an unlimited license. I have a WordPress site that uses WooCommerce as the store front.

It's easy for me to add a new product to my list of products, and to embed the online game into WordPress. How do I authenticate the user before enabling them to play the game?

If they pass a URL to a friend, that URL NEEDS to fail. It they pass their username and password to a friend, then play, I WOULD LIKE that also to fail.

Suggestions?

Thanks
0
Comment
Question by:newbieweb
2 Comments
 
LVL 12

Accepted Solution

by:
William Nettmann earned 500 total points
ID: 41792856
I guess you could place a cookie on the buyer's PC and ensure that the game authenticates against that.

You would need to provide a mechanism to replace the cookie in the event it gets deleted or if the buyer gets a new PC, etc.

To prevent abuse of the replacement mechanism, each cookie would need to be linked to a license on the server, which would be checked when the game is played.

Using this approach, buyers would be able to "lend" their game out, but not distribute it - i.e. only one player at a time per license.
0
 

Author Closing Comment

by:newbieweb
ID: 41794255
thanks
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
Online promotion is consistently becoming more important for all types of businesses. From Facebook ads to search engines to YouTube videos, there are all sorts of channels that can effectively be used to promote a business or product. But how shoul…
The purpose of this video is to demonstrate how to reset a WordPress password if you are locked out and cannot reset the password. A typical use would be if you cannot access the email to which WordPress would send the password recovery email to…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question