Solved

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

Posted on 2006-06-27
5
244 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

770 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