473,320 Members | 1,848 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,320 software developers and data experts.

network issues

So i've read that in order to execute from a network drive you need to
change the security permissions, if i wish the program to be run off of
a machine running windows server 2003 on a networked user's computer,
would I have to mess around with caspol, or could i simply use the
administrative tools, .net configuration utility? any help is greatly
appreciated.

Jul 25 '06 #1
3 1099
Depends on how many machines you need to update (if any). For one-or-two, I
would use the wizard (right click on Runtime Security Policy and "Trust
Assembly...". For more, I would hope to automate it; this can be done by
exporting an msi from the wizard (assuming each machine will be configured
identically) - right click on Runtime Security Policy and "Create Deployment
Package...". For more specific changes, caspol.exe (command-line) can be
used e.g. in an msi to configure security.

However, my preferred option is still (in 2.0) to use ClickOnce and signed
manifests; no client configuration required - just a valid code-signing
certificate.

Marc
Jul 25 '06 #2

Marc Gravell wrote:
Depends on how many machines you need to update (if any). For one-or-two, I
would use the wizard (right click on Runtime Security Policy and "Trust
Assembly...". For more, I would hope to automate it; this can be done by
exporting an msi from the wizard (assuming each machine will be configured
identically) - right click on Runtime Security Policy and "Create Deployment
Package...". For more specific changes, caspol.exe (command-line) can be
used e.g. in an msi to configure security.

However, my preferred option is still (in 2.0) to use ClickOnce and signed
manifests; no client configuration required - just a valid code-signing
certificate.

Marc
Could you post maybe a link to where I could find more information
about ClickOnce and signed manifests? Also, is it possible to change
the security on that folder containing the code in the server so that I
don't ahve to configure individual workstations?

Jul 25 '06 #3
Could you post maybe a link to where I could find more information
about ClickOnce and signed manifests?
Entering the following into google looks promising:
+"how to" +"ClickOnce" +"manifest" +"sign"
Also, is it possible to change
the security on that folder containing the code in the server so that I
don't ahve to configure individual workstations?
No; the client determines the security policy; the server in this case
is just a passive file system. In 1.1 days I resorted to simply
changing my corporate logon and build scripts so that all machines
automatically trusted my SNK via caspol; with 2.0 a signed, trusted,
ClickOnce manifest is far better. In fact, there were probably better
options in 1.1, but it sufficed for my purposes.

Marc

Jul 25 '06 #4

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

Similar topics

6
by: moonriver | last post by:
I write a program accessing files in network drive o:. It is doable as a standalone application. However, if it is running under windows service, the following exception will appear: 13/07/2004...
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: Michael | last post by:
We have an ASP.NET 2.0 web application running on a Windows 2003 domain controller. Part of that application needs to read and write files from and to a network share ( living on a MAC Xserveraid)...
3
by: Michel Smit | last post by:
Hello, I have a question. We have a webserver in a domain, DomainA, and a webserver in a DMZ with local users and groups only. I'm trying to copy a file from the DomainA webserver to the DMZ...
5
by: Goran Djuranovic | last post by:
Hi all, I have a file system watcher service that works fine on a local hard drive, but will not work across the network. I tried both: mapping the drive and "\\..." path both no luck. I don't...
2
by: salman | last post by:
we are developing new office, and now we are at stage to build office network, please kindly any help on the following issue to understand. - Components of a corporate network (Hardware...
15
by: =?Utf-8?B?TVNU?= | last post by:
To demonstrate my problem, I have a very simple VB Windows application. It has a text box that is used to display a counter, a button to reset the counter, and a timer that increments the counter...
10
by: gary0gilbert | last post by:
An unusual spin to this recurring disk or network error in a Terminal Server environment. Access 2000, Terminal Server 2000, file server is windows 2000. All users have a separate copy of the...
5
by: cj2 | last post by:
This code works: using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Linq; using System.Web; using System.Web.Services; using...
5
by: Phil | last post by:
A file used by my application may be stored on a shared network drive, so that it can be accessed by different people using the same application. I have written some code that uses an...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.