469,623 Members | 985 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

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 1222
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Brad Smith | last post: by
14 posts views Thread by tracernet_v2 | last post: by
1 post views Thread by Parveen | last post: by
2 posts views Thread by accyboy1981 | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.