473,385 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Online activation -- how to?

zz
Hello everyone,

We have an hybrid plain C++/COM/VB.NET commercial application in which we've
included a mandatory activation mechanism. This activation system is
programed in the VB.NET part and basically uses the System.net.WebRequest
object to do it's job.

Works well for the most part but we have serveral client for who it doesn't
work. Many of them have been firewall issues, both personnal and corporate
ones. We know we won't ever be able to make a system that has 100%
connectivity, but are there any ways to improve our system?

Getting past Norton, McAfee and similar firewalls who "by default" block
communications from programs... As well as corporate firewalls who usually
use a proxy, etc....

Comments / ideas welcomed.

Thanks you,

Alex.
Sep 27 '05 #1
3 3139
"zz" <zzz> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl...
Hello everyone,

We have an hybrid plain C++/COM/VB.NET commercial application in which
we've included a mandatory activation mechanism. This activation system is
programed in the VB.NET part and basically uses the System.net.WebRequest
object to do it's job.

Works well for the most part but we have serveral client for who it
doesn't work. Many of them have been firewall issues, both personnal and
corporate ones. We know we won't ever be able to make a system that has
100% connectivity, but are there any ways to improve our system?

Getting past Norton, McAfee and similar firewalls who "by default" block
communications from programs... As well as corporate firewalls who usually
use a proxy, etc....

Comments / ideas welcomed.

Thanks you,

Alex.

Hi Alex,

First off, the best way around the firewalls is to post on port 80. Most
firewalls don't block the traffic on port 80.

That said, Windows Activation has the same problem. That is why a certain
percentage of Windows users will telephone Microsoft in order to activate
their product. It's a fact of life.

You may want to consider using e-mail as a backup. Your app sends an e-mail
to your company with a seed and you send back a key. The user has to cut
and paste the key from the e-mail reply into a dialog on your app. Most
users don't mind this one. Altova uses it to great effect for XMLSpy.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
Sep 28 '05 #2
Nick Malik [Microsoft] wrote:
"zz" <zzz> wrote in message news:%2***************@TK2MSFTNGP15.phx.gbl...
We have an hybrid plain C++/COM/VB.NET commercial application in which
we've included a mandatory activation mechanism. This activation system is
programed in the VB.NET part and basically uses the System.net.WebRequest
object to do it's job.

First off, the best way around the firewalls is to post on port 80. Most
firewalls don't block the traffic on port 80.


Well, he says he's using Web Request.

Does that mean you're using a Web service?

If not, the web service would be the right choice here, since as long as
they can run a browser on the workstation, your app can call a web
method and deliver whatever key or code is needed.

In fact, you could make a registered access to the web service the
'activation' in the sense the the app wouldn't run unless they could,
say, make a simple call to the web service/method.

Sep 28 '05 #3
zz

"John Bailo" <ja*****@texeme.com> wrote in message
news:43**************@texeme.com...
Nick Malik [Microsoft] wrote:
"zz" <zzz> wrote in message
news:%2***************@TK2MSFTNGP15.phx.gbl...

We have an hybrid plain C++/COM/VB.NET commercial application in which
we've included a mandatory activation mechanism. This activation system
is programed in the VB.NET part and basically uses the
System.net.WebRequest object to do it's job.

First off, the best way around the firewalls is to post on port 80. Most
firewalls don't block the traffic on port 80.


Well, he says he's using Web Request.

Does that mean you're using a Web service?

If not, the web service would be the right choice here, since as long as
they can run a browser on the workstation, your app can call a web method
and deliver whatever key or code is needed.

In fact, you could make a registered access to the web service the
'activation' in the sense the the app wouldn't run unless they could, say,
make a simple call to the web service/method.

Web service? Forgive my dinosaurian knowledge but that term is a bit hip for
my skills :) I figure that by using the HttpWebRequest object, from dotnet,
I'm using port 80 to do my job and theorically mimicing the browser. But
then again, Norton, Zonealarm and other personnal firewalls will ask the
question "Do you want XXX to access the internet" or silently block me.
We're simply opening a web page using params and using the feedback to
determin wether or not the registration was accepted.

That, and poeple using a proxy configured in Internet Explorer see the
communication fail from the feedback I've had, which would mean the
WebRequest object is not using IE's proxy setup.

I know we'll never be able to have a solution that works 100%, but we're
trying to reduce the number of cases where we need to do a manual
activation. The email idea proposed by Nick is one we though about and we
ultimatly might end up with something like that. Sounds like it would be one
of the most effective way to do this. Our main concern is to not have
someone get their code and give it to all his friends, so we'll need to have
a code that's tied to the user's machine or something to that effect.
Sep 28 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: R. Rajesh Jeba Anbiah | last post by:
I'm supposed to do the account activation via email. I mean *not* sending the activation link like http://foo.com/foo.php?actcode=foo. But, I would like it to be like...
1
by: JaNE | last post by:
Hello, I have made my cms... and is working, but have some, let me say "bugs"... And I don't know all reasons, please allow me slightly longer and most probably confusing post (that "confusing" is...
1
by: Matt Dinovo | last post by:
I have a remoting server that is on the same local box as a COM+ managed object with Library Activation. When I try to activate the object from the remoted assembly, I get the following error: "The...
30
by: (Pete Cresswell) | last post by:
Just fired it up to see what it looked like. They wanted me to "Activate" the product before the 50th use. Geeze, I paid my money....now they want me to jump through their hoops? Brings back...
11
by: Paul Aspinall | last post by:
Hi Can anyone offer any hints / tips for creating registration keys / application activation, as software copy protection measures for a Winform app developed in C#? Thanks
2
by: paully_21 | last post by:
I'm an MSDN Subscriber and I installed VWD...When I activate the product it asks for an activation key...Where do I get one of those? And, more importantly, shouldn't it be part of my MSDN...
3
by: zz | last post by:
Hello everyone, We have an hybrid plain C++/COM/VB.NET commercial application in which we've included a mandatory activation mechanism. This activation system is programed in the VB.NET part and...
5
by: Andy B | last post by:
I am making a web application that would randomly create an activation code and put it in a database. The web application would then send it in an email to the user with a link to go to and enter...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.