Re: Software Protect & Registration
- From: Eduardo <mm@xxxxxx>
- Date: Tue, 15 Sep 2009 22:34:08 -0300
Nobody escribió:
First, I don't think you see my posts in your newsserver, so I doubt that you see this message unless someone replies.
OK, I reply then.
The post of Nobody is copied below:
********************************************************
I have used SWREG and Paypal. SWREG is now part of Digital River, and I
think they allow you to include your key generation program or script, but I
am not sure. I don't recommend that you use their "Revenue Share" program, I
think when you use it, they send offers to your customers, and you get money
if the customer buys, but this could result in less recommendation by your
customers to others, since it seems like SPAM.
They pay monthly, but if you have an account for them for a while, you can
switch to weekly for an extra %1.
http://www.swreg.org/services.htm
Paypal itself pays immediately, but they have poor support for other
countries. Some have to register their card in order to pay me, so I don't
recommend them as primary option, but as an additional option. I am using
their basic website payment plan. They have a Pro option for a monthly fee
that may eliminate the problems with other countries, but I am not sure.
The easiest way to make a key generator from VB stand point is to use ASP,
which supports VBScript. You can make the generator in VBScript, or you
could put it in ActiveX DLL and use it from ASP, via VBScript's
CreateObject() function. There are some hosts who allow ActiveX for small
fee. The one below charges $2 per install.
http://www.webecs.com/hostplans.aspx
http://www.aspfaq.com/categories.asp
If you don't want to put your generator on a computer that you can't
control, you can put it on your own computer, and let an ASP script from
your web site forward the information to your local computer and return the
result to the customer. See this page on how to get the contents of a URL
page from ASP. You can pass the customer name as part of the URL:
How do I read the contents of a remote web page?
http://classicasp.aspfaq.com/general/how-do-i-read-the-contents-of-a-remote-web-page.html
ServerXMLHTTP has setTimeouts method, so if your computer is offline, the
customer has to wait until you email him/her. In the script in your
computer, you can check the requesting IP to make sure that only requests
from the web server are processed(since it has a fixed IP), and not someone
from other parts of the web. Here is a sample ASP file, just save it in
Notepad with file name "test.asp", and put it in the folder
"C:\Inetpub\wwwroot", assuming you have a Pro version of the OS, which
includes a web server(IIS). To test the script, type
http://localhost/test.asp?CustomerName=Jack in any web browser. If you get
an error, go to Administrative Tools-->Internet Information Services, and
make sure that the default web site is running. Once you get it working, try
setting the IP to 127.0.0.1 in the script. You have to provide an ActiveX
DLL and edit the CreateObject line, otherwise you get a runtime error.
<html>
<body>
<%
Dim ip, o, sCustomerName, sKey
ip=Request.ServerVariables("REMOTE_ADDR")
sCustomerName = Request.QueryString("CustomerName")
Response.Write("CustomerName: " & sCustomerName & "<BR>")
If ip = "1.2.3.4" Then
' Allowed
Set o = Server.CreateObject("Project1.Class1")
sKey = o.GetKey()
Response.Write("Your license key is: " & sKey & "<BR>")
Else
' Not allowed
Response.Write("You are not allowed to access this page from " & ip &
"<BR>")
End If
%>
</body>
</html>
.
- Follow-Ups:
- Re: Software Protect & Registration
- From: Eduardo
- Re: Software Protect & Registration
- References:
- Software Protect & Registration
- From: Webbiz
- Re: Software Protect & Registration
- From: Nobody
- Software Protect & Registration
- Prev by Date: Re: Software Protect & Registration
- Next by Date: Re: Software Protect & Registration
- Previous by thread: Re: Software Protect & Registration
- Next by thread: Re: Software Protect & Registration
- Index(es):
Relevant Pages
|