Solved

WordPress, WooCommerce, to Authenticate an online service?

Posted on 2016-09-09
2
132 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
This article was initially published on Monitis Blog, you can read it here . When it comes to deciding which approach to website performance monitoring is best for your business, unfortunately, like so many options in life . . . it depends. In th…
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

734 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