File Download - Security Warning - Win XP

Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Reply

Join Date: May 2004
Posts: 27
Reputation: srikkanthan is on a distinguished road 
Solved Threads: 0
srikkanthan srikkanthan is offline Offline
Light Poster

File Download - Security Warning - Win XP

 
0
  #1
May 10th, 2005
Hi
I have a web page - in that i give a link to exe file. When the user clicks on the link the exe is supposed to be downloaded and executed in the user's system. (I am not writing any malicious code or virus :rolleyes: )

However, when i try to download that executable a messagebox with prompts as follows:
==================================
Title: File Download - Security Warning
Name: Setup.exe
From: localhost

Buttons: [Run] [Save] [Cancel]

While files from internet can be useful, this file type can potentially harm your computer. If you do not trust the source, do not run or save this software. (link: ) What's the risk?
================================

I don't want to display this messagebox. I got the information like, I need to "Digitally sign" my executable - so that the user can trust the Digital Certificate and its publisher. I am ready to buy any digital certificate from any CA such as Verisign etc. Anyway, Before that to make sure, I tried with sample certificates generated using "makecert.exe" and "cert2spc.exe" and other tools. They have mentioned like these sample certificates work in intranet. However, still the warning pops up. I am not able to stop that. This happens only in the Windows XP - SP 2 systems.

Few other links i found to create sample digital certificates:

http://winfx.msdn.microsoft.com/libr...a0c408cf0d.asp

http://winfx.msdn.microsoft.com/libr...a9b542d11d.asp

http://msdn.microsoft.com/library/de...akecertexe.asp

http://www.source-code.biz/snippets/vbasic/3.htm

http://www.microsoft.com/downloads/d...displaylang=EN

I don't know what I am doing wrong. All I want is to get rid of that warning.

I hope Daniweb can help me in this regard.

Regds
Sri.
Reply With Quote Quick reply to this message  
Join Date: Feb 2003
Posts: 793
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Solved Threads: 26
Team Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: File Download - Security Warning - Win XP

 
0
  #2
May 30th, 2005
Ok, well to my knowledge you can't once you have installed SP2. This is a new update to Internet Explorer, but I could be wrong on that part, as I do not use Internet Explorer.



Originally Posted by srikkanthan
Hi
I have a web page - in that i give a link to exe file. When the user clicks on the link the exe is supposed to be downloaded and executed in the user's system. (I am not writing any malicious code or virus :rolleyes: )

However, when i try to download that executable a messagebox with prompts as follows:
==================================
Title: File Download - Security Warning
Name: Setup.exe
From: localhost

Buttons: [Run] [Save] [Cancel]

While files from internet can be useful, this file type can potentially harm your computer. If you do not trust the source, do not run or save this software. (link: ) What's the risk?
================================

I don't want to display this messagebox. I got the information like, I need to "Digitally sign" my executable - so that the user can trust the Digital Certificate and its publisher. I am ready to buy any digital certificate from any CA such as Verisign etc. Anyway, Before that to make sure, I tried with sample certificates generated using "makecert.exe" and "cert2spc.exe" and other tools. They have mentioned like these sample certificates work in intranet. However, still the warning pops up. I am not able to stop that. This happens only in the Windows XP - SP 2 systems.

Few other links i found to create sample digital certificates:

http://winfx.msdn.microsoft.com/libr...a0c408cf0d.asp

http://winfx.msdn.microsoft.com/libr...a9b542d11d.asp

http://msdn.microsoft.com/library/de...akecertexe.asp

http://www.source-code.biz/snippets/vbasic/3.htm

http://www.microsoft.com/downloads/d...displaylang=EN

I don't know what I am doing wrong. All I want is to get rid of that warning.

I hope Daniweb can help me in this regard.

Regds
Sri.
Assistant Manager, Pharmacy Informatics
Wordpress Learning Blog
Updated : ASP.Net Login Code
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 27
Reputation: srikkanthan is on a distinguished road 
Solved Threads: 0
srikkanthan srikkanthan is offline Offline
Light Poster

Re: File Download - Security Warning - Win XP

 
0
  #3
May 31st, 2005
You are right. We again checked with Microsoft. They have confirmed this warning cannot be evaded even if we use digital certificates. No other way but to compromise with this.
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 27
Reputation: srikkanthan is on a distinguished road 
Solved Threads: 0
srikkanthan srikkanthan is offline Offline
Light Poster

Re: File Download - Security Warning - Win XP

 
0
  #4
Jun 17th, 2005
This is an update for this thread. If we use digital certificates purchased from Certification Authorities like Verisign, a second dialog box with the Publisher name (with my company name as publisher) appears and asks the user do you trust this publisher. This is somewhat ok.

Adding to this, one more requirement added to this issue. I need to use this digital certificates "on the fly" at runtime. Meaning i need to sign files dynamically before they are about to be downloaded.

I found that Microsoft CAPICOM library will be useful for signing files dyanmically on the fly before downloads. But I am not able to use it properly - it is not as simple as you give the spc and pvk file - it signs the download file - not like that. Anybody used CAPICOM before?
Reply With Quote Quick reply to this message  
Join Date: May 2004
Posts: 27
Reputation: srikkanthan is on a distinguished road 
Solved Threads: 0
srikkanthan srikkanthan is offline Offline
Light Poster

Re: File Download - Security Warning - Win XP

 
0
  #5
Jun 17th, 2005
For the whizkids out there, CAPICOM library is available in the following URL:
http://www.microsoft.com/downloads/d...5-FF88EA5896F6
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the ASP.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC