Solved

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

Posted on 2006-06-27
5
246 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
  • 3
  • 2
5 Comments
 
LVL 8

Accepted Solution

by:
hiteshgupta1 earned 300 total points
ID: 16998400
0
 
LVL 8

Expert Comment

by:hiteshgupta1
ID: 16998404
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

713 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