Solved

WordPress, WooCommerce, to Authenticate an online service?

Posted on 2016-09-09
2
135 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
There are many other benefits to creating an inbound marketing strategy. Let’s take a look at five of the biggest and how they'll affect your business.
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

724 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