?
Solved

How can I Create a digital signature for my Visual Basic application

Posted on 2006-06-27
5
Medium Priority
?
249 Views
Last Modified: 2013-11-25
Note: since my original question put in to the sercurity area did not get answered so far, I am listing it here as well.


I have created my application using Visual Basic 6. Now the app needs to be able to run on a Windows 2003 server , using remote descktop.

when users try to run it, windows pops up a message called "open file ...." and users need to click yes to make it run. I assume if I attach a digital signature with my application , then this message will not pop-up.

Question1: is my assumption correct ?

Question2: if so how can I create a digital signature for my appliction, all I need is to stop that message comming up. I do not however want to change the security policy of the server. Is there a way ( may be with windows itself ) that I can create a Digital signature free?
Or is there a workaround without having to go about the digital signature business at all ? ( again no change to server security policies )

Thanks,
Indika.
0
Comment
Question by:indikad
[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
  • 3
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
hiteshgupta1 earned 900 total points
ID: 16998400
0
 

Author Comment

by:indikad
ID: 17000728
I will have a go at capicom and will let you know. thanks.
0
 

Author Comment

by:indikad
ID: 17007258
I downloaded the CAPICOM and tested some sample apps that come with it. If you have used this dll then can you shed some light on the following questions.

Please note that my knowledge of security and digital segnatures are very nil....

the dll seems to be able to asign a given exe with a digital signature by calling the function  -
SignedCode.Sign Signer
the digital signature however seemed to be created by a third party  - Ascertia.

however I am not sure how I can set the signer value ( the sample code does not assign a value to this)
Signer seems to be pickd up from a digutal signing authority I registered with a few days ago online ( www.Ascertia.com).

My question is I do not want to rely on a third0 party like Ascertia. Is there a windows component or can the CAPICOM itself generat the digital signature.

0
 

Author Comment

by:indikad
ID: 17040251
I still have a few things to sort out.. however I will give you points as the you have directed me on a proper path.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

771 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