| | |
File Download - Security Warning - Win XP
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
•
•
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 activexcontrol advice ajax alltypeofvideos appliances asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox commonfunctions compatible confirmationcodegeneration content contenttype courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist development dgv dropdownlist dropdownmenu dynamically edit fileuploader fill flash flv formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox menu microsoft mono mouse mssql multistepregistration nameisnotdeclared news objects opera panelmasterpagebuttoncontrols redirect registration relationaldatabases reportemail rotatepage schoolproject security serializesmo.table sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visual-studio visualstudio web webapplications webarchitecture webdevelopemnt webprogramming webservice youareanotmemberofthedebuggerusers





