| | |
File Download - Security Warning - Win XP
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2004
Posts: 27
Reputation:
Solved Threads: 0
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.
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.
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.
•
•
Join Date: May 2004
Posts: 27
Reputation:
Solved Threads: 0
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?
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?
•
•
Join Date: May 2004
Posts: 27
Reputation:
Solved Threads: 0
For the whizkids out there, CAPICOM library is available in the following URL:
http://www.microsoft.com/downloads/d...5-FF88EA5896F6
http://www.microsoft.com/downloads/d...5-FF88EA5896F6
![]() |
Similar Threads
- ASP file with database connection problem (ASP)
- Highjack file Ie wont download (Viruses, Spyware and other Nasties)
- Microsoft Windows Security Warning (Viruses, Spyware and other Nasties)
- Fake "Microsoft Windows Security Warning" & Browser Hijacks (Viruses, Spyware and other Nasties)
Other Threads in the ASP.NET Forum
- Previous Thread: login working in IE but not mozilla?
- Next Thread: Compilation Error Handles cmdLogin.ServerClick
| Thread Tools | Search this Thread |
.net 2.0 3.5 ajax alltypeofvideos appliances asp asp.net beginner box browser businesslogiclayer button c# cac checkbox class commonfunctions compatible content contenttype countryselector courier dataaccesslayer database datagrid datagridview datalist deployment development dgv dialog dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash flv formatdecimal formview gridview gudi iis javascript list listbox menu microsoft mouse mssql nameisnotdeclared news novell numerical opera order panelmasterpagebuttoncontrols problem radio ratings redirect registration relationaldatabases reportemail schoolproject search security serializesmo.table sessionvariables silverlight smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview validatedate validation vb.net videos vista visual-studio visualstudio vs2008 web webapplications webarchitecture webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers





