473,748 Members | 2,574 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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.WebR equest
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 3187
"zz" <zzz> wrote in message news:%2******** *******@TK2MSFT NGP15.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.WebR equest
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******** *******@TK2MSFT NGP15.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.WebR equest
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.c om...
Nick Malik [Microsoft] wrote:
"zz" <zzz> wrote in message
news:%2******** *******@TK2MSFT NGP15.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.W ebRequest 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
8368
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 <actcode>-activation@domain.com or so. I remember, once I did it by checking the POP3 server. Now, I totally forgot how I did it in PHP or server. Also, I couldn't find any solution/script by Googling. Anyone has the idea? TIA. ---
1
2680
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 mainly becaose of my bad english, and that bad english is also reason why am I learning php that slow...). As first, what is problem: some users after succsesfull registration and login can not see "memeber_menu" and can not activly participate...
1
2160
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 specified activation could not occur in the client context as specified." The security context of the service application that is activating the object has the proper credentials. It's been years since I've had to deal with COM+ and I'm a bit...
30
3204
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 unpleasant memories of Intuit's QuickBooks... When did MS start this? It's not in 2000. 2002?
11
11046
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
2275
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 subscription?
3
262
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 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...
5
3231
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 the activation code. How would I do this? and what sql server data type would I use? I want the activation code to be no longer than 12 characters, have a mix of numbers and letters and have no special symbols.
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9386
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9333
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9254
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8255
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2217
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.