473,394 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Running Executable from Network Folder

I have an application that I need to deploy to users...the installer puts the program executable onto the user's local machine...but I would rather have this executable out on the network...this way it would be much easier to manage updates...

I know that by default this is not possible...I get a violation of .NET security policy error. One way to fix this is to go to Control Panels and change the security level for Local Intranet from 'partiallly trusted' to 'fully trusted'. I'm not sure whether doing this might create other security problems...

Is there any other way to make it possible to run an executable from the network??

Thanks,

Parveen
Nov 20 '05 #1
3 1378
Hi,

I would not change the security setting for the local network in the
control panel. Use caspol.exe to adjust the security setting for the
app.

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

http://msdn.microsoft.com/msdnmag/is...s/default.aspx

Ken
-------------

"Parveen" <Pa*****@discussions.microsoft.com> wrote in message
news:B5**********************************@microsof t.com:
I have an application that I need to deploy to users...the installer puts
the program executable onto the user's local machine...but I would rather
have this executable out on the network...this way it would be much easier
to manage updates...

I know that by default this is not possible...I get a violation of .NET
security policy error. One way to fix this is to go to Control Panels and
change the security level for Local Intranet from 'partiallly trusted' to
'fully trusted'. I'm not sure whether doing this might create other
security problems...

Is there any other way to make it possible to run an executable from the
network??

Thanks,

Parveen


--
Outgoing mail is certified Virus Free.
Checked by AVG Anti-Virus (http://www.grisoft.com).
Version: 7.0.230 / Virus Database: 263.1.2 - Release Date: 6/7/2004
Nov 20 '05 #2
Hi Parveen,

It is possible, however keep in mind that with running an application from a
network drive, you do not work as a minicomputer or an SQL server. The
processing is done on the clients computer, this means that there will
always be trafic of the code over the network before the program starts.

It is in my opinion much nicer to create a deploymentdrive on your network.
That will give the highest performance for your clients. You can even set
the deployment than in a login script when it is needed..

If you want to do it anyhow. You can look at this threads about this in this
newsgroup.
http://tinyurl.com/2co3z

Just my thought about it,

Cor
Nov 20 '05 #3
* "=?Utf-8?B?UGFydmVlbg==?=" <Pa*****@discussions.microsoft.com> scripsit:
I have an application that I need to deploy to users...the installer puts the program executable onto the user's local machine...but I would rather have this executable out on the network...this way it would be much easier to manage updates...

I know that by default this is not possible...I get a violation of .NET security policy error. One way to fix this is to go to Control Panels and change the security level for Local Intranet from 'partiallly trusted' to 'fully trusted'. I'm not sure whether doing this might create other security problems...

Is there any other way to make it possible to run an executable from the network??


As far as I know, that's possible through "CASPOL.EXE" or AD settings...

..NET Framework Enterprise Security Policy Administration and Deployment
<URL:http://msdn.microsoft.com/library/en-us/dnnetsec/html/entsecpoladmin.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 20 '05 #4

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

Similar topics

4
by: Brad Smith | last post by:
I have a unique requirement to run an executable file from withing a HTML document. The HTML is actually embedded in an email sent as a notification to a user of our application. I need to include...
14
by: tracernet_v2 | last post by:
fellow c# programmers... i need some help.... i have created a program, a module that is part of another bigger program... when i debug it, by pressing F5 in the IDE, it runs so well i can...
8
by: JR | last post by:
I have a Web server running on Windows XP. On this Web server, I have a Web site configured with its home directory on a network share. In the Web site, there's a virtual folder pointing to a local...
2
by: flat_ross | last post by:
Hi, I am in a shop where developers are required to work off of a network share. This is so that code is backed up nightly. So I am testing running an ASP.NET Web application with a Class...
11
by: ASP.NET User | last post by:
Hi I am in a shop where developers are required to work off of a networ share. This is so that code and other documentation is backed up nightly. This is outside the realm of Visual SourceSafe...
1
by: Parveen | last post by:
When I try to deploy my windows application, the installer puts the program executable on the user's local machine...I would rather have the executable run from a folder on the network...this way it...
4
by: Jeremy S. | last post by:
We're in the process of writing a new Windows Forms app and the desktop support folks want for it to be run from a network share. I know it's possible (i.e., just have the framework on the clients...
2
by: accyboy1981 | last post by:
Hi, I'm creating a website that is required to run an executable file over a network. I'm currently using the System.Diagnostics namespace with code similar to this: Process p = new...
2
by: NasirMunir | last post by:
I am trying to run an executable using shell. The executable look for certain files in the same directory and then run on those files. My problem: I have created a form which asks from the user to...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.