Solved

WordPress, WooCommerce, to Authenticate an online service?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
fix wrap around navigation on tablet device 3 41
how can I sell digital products online? 3 72
wordpress issue 2 40
Beginner to Unreal Engine 4 5 57
Read about why website design really matters in today's demanding market.
A great marketing strategy is diverse.  Read about the not so popular, yet effective, marketing tactics you can start using today!
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. 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 : Go t…

932 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now