473,830 Members | 2,036 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Turning off .NET security

I am running Windows XP, and IE version 6.0.2900 on my desktop. It has the
..Net Framework Service Pack 1 installed on it. Security was turned off on the
machine using "CASPOL -s off". A .Net windows application has been deployed
on a Win 2003 web server.

When I try to launch the application through auto deploy
(https://www.myserver.com/myApp.exe), I'm being prompted "Do you want to run
or save this file?" with Run/Save/Cancel options. When I select Run, I'm
getting another prompt "The publisher could not be verified. Are you sure you
want to run this software?" with Run/Don't Run options.

Other desktops with the same configurations as mine are never prompted and
the application just runs. Which settings should I change/configure to
prevent the prompts?

Sep 7 '06 #1
4 4525
Those are IE settings not .NET framework settings. I believe if you add the
site to your trusted zone it will remove these prompts but the IE newsgroup
I am sure could tell you more.

Cheers,

Greg Young
MVP - C#
http://codebetter.com/blogs/gregyoung

"NormD" <ma***@newsgrou p.nospamwrote in message
news:85******** *************** ***********@mic rosoft.com...
>I am running Windows XP, and IE version 6.0.2900 on my desktop. It has the
.Net Framework Service Pack 1 installed on it. Security was turned off on
the
machine using "CASPOL -s off". A .Net windows application has been
deployed
on a Win 2003 web server.

When I try to launch the application through auto deploy
(https://www.myserver.com/myApp.exe), I'm being prompted "Do you want to
run
or save this file?" with Run/Save/Cancel options. When I select Run, I'm
getting another prompt "The publisher could not be verified. Are you sure
you
want to run this software?" with Run/Don't Run options.

Other desktops with the same configurations as mine are never prompted and
the application just runs. Which settings should I change/configure to
prevent the prompts?

Sep 8 '06 #2
Hi Mach,

Yes, the first "Do you want to run or save this file?" dialog is a security
enhancement of WinXP SP2. Please refer to the article below for more
information:
"How to Configure Enhanced Security Features for Internet Explorer from
Windows XP SP2"
http://www.microsoft.com/technet/sec...ch/windowsxp/i
esecxp.mspx#EXG AC

"'The publisher could not be verified. Are you sure you want to run this
software?" dialog is shown when you download an application from the
Internet and the publisher of the software has not digitally signed the
application. You should digital sign the Exe file to get rid of the dialog,
please refer to the article below:
"Automating Code Signing of Windows Executables"
http://www.kinook.com/blog/?p=10

Hope this helps.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 8 '06 #3
Thank you, both for your suggestions. I'll investigate.

"NormD" wrote:
I am running Windows XP, and IE version 6.0.2900 on my desktop. It has the
.Net Framework Service Pack 1 installed on it. Security was turned off on the
machine using "CASPOL -s off". A .Net windows application has been deployed
on a Win 2003 web server.

When I try to launch the application through auto deploy
(https://www.myserver.com/myApp.exe), I'm being prompted "Do you want to run
or save this file?" with Run/Save/Cancel options. When I select Run, I'm
getting another prompt "The publisher could not be verified. Are you sure you
want to run this software?" with Run/Don't Run options.

Other desktops with the same configurations as mine are never prompted and
the application just runs. Which settings should I change/configure to
prevent the prompts?
Sep 8 '06 #4
Hi Mach,

Ok, I will still monitor this thread. Please feel free to feedback any
result or progress here, thanks.

Best regards,
Jeffrey Tan
Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====
This posting is provided "AS IS" with no warranties, and confers no rights.

Sep 11 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
2211
by: John | last post by:
Hello. I am a newbie to PHP. I am over halfway through my first book that I'm learning with and have just created login pages etc. I just wondered, if I am running php/mysql/apache locally, should I be okay to turn register_globals on without any security issues? Thanks
3
5720
by: James | last post by:
PHP is making a right mess at the moment and insists on putting a PHPSESSID in forms, urls and other spots on a script I am running. Is there any way to stop it doing this? Part of the issue is it is inserting an ampersand in the url instead of &amp; --- ampersands are not valid HTML Trans and I am trying to make sure my pages are valid. Forgive me if I have asked this already today - I've been sitting here for hours wondering if I indeed...
3
11861
by: Paulo Pinto | last post by:
Hi, I need to generate a temporary name for a file and pass it as argument to a shell script. Now when I use os.tempnam() or os.tmpnam() I get a runtime warning about security issues. I am well aware of them, but in the context of
20
8716
by: Brian Kazian | last post by:
Here's my problem, and hopefully someone can help me figure out if there is a good way to do this. I am writing a program that allows the user to enter an equation in a text field using pre-existing variables. They then enter numerical values for these variables, or can tell the program to randomize the values used within a certain bounds. My problem is taking in this equation they have written in the text field and converting it into...
40
10914
by: Alex | last post by:
Hello, does anybody know how to turn off the autocomplete feature for a certain text field? I am aware of the "autocomplete" attribute, but I have seen other implementions achieving it without any such attribute and am wondering whether there is another way to do it .... like via CSS or a naming convention or .......
2
1523
by: Deano | last post by:
One of the more challenging things on my app's wishlist is to make it multi-user on a LAN. For the record my app was always intended to a single-user but things have changed. It's mostly composed of bound forms handling records numbered in the hundreds, sometimes a few thousand. The code of course refers to tables in the local mdb. I allow the user to create external backups of the tables in the database and to restore them. Because...
0
942
by: Nadav | last post by:
Hi, The Problem: WebPermission.Demand() generate an exception ( meaning security validation has failed ), digging into the code I have stumbled upon the internal class ‘System.Security.CodeAccessSecurityEngine’, the Demand() API ( implemented by WebPermission ) instantiate this class and calls ‘Check(…)’ on it, ‘Check(…)’ is an unmanaged API implemented in ‘mscorlib’, browsing ‘Check(…)’ at the sscli ( rotor...
2
1840
by: rk325 | last post by:
I have a question about cookies & browser permissions and turning off cookies when creating a web site (cookieless mode in web.config). I have a web site that of course uses Session variables. But we decided to turn off the cookieless mode because the client specifically said her browser did not allow cookies. Anyway, when searching about it, I found out that by setting cookieless = true the session cookie is embedded into the URL sent...
8
3635
by: Mark A. Sam | last post by:
Hello I am working locally with Visual Web Developer 2005 Express. Before I even installed it, the information from Microsoft was that you could FTP it to a remote site and it should work. The site I FTP'd to has .Net Framework 2.0 installed. I got this error when I tried to open the site: Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details...
0
9793
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10777
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10493
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10526
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9315
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4416
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3960
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3076
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.