Granting Full Trust to a network share

  • Thread starter Thread starter Anders K. Olsen
  • Start date Start date
A

Anders K. Olsen

Hello group.

I would like to develop my software from a network share, that is, place my
code on a network share. Is it possible to grant Full Trust to this share
(e.g. X:) and only to this share?

The reason for this, is that I can then ensure that there are taken backup
of my current work, in case something happends to my laptop. I know it may
be a bit slower to compile against a network share, but I can live with
that.

We also have a version control system, but I also want some extra security
for the code under development.

Regards
Anders Olsen
 
You can use MS Visual Source Safe to share your code with other
computer. Your code can put it in network drive. When you need the
code, you can connect to network drive through Source Safe with login
ID and password. so you can do whatever you want for your code. It can
secure your code, because if other computer want your code, they must
login to source safe and get it, else they won't be able to change your
code. Means that the main copy is in your network drive. If your laptop
have any problem, your code wont' be affected.

if you want to make sure your code in network drive won't get trouble,
you must check out all code which is checked in, else your changes will
be lost.

I hope it can help.
 
Mel said:
You can use MS Visual Source Safe to share your code with other
computer. Your code can put it in network drive. When you need the
code, you can connect to network drive through Source Safe with login
ID and password. so you can do whatever you want for your code. It can
secure your code, because if other computer want your code, they must
login to source safe and get it, else they won't be able to change your
code. Means that the main copy is in your network drive. If your laptop
have any problem, your code wont' be affected.

Hello Mel

Thank you for your answer. Unfortunately we are currently using CVS as our
version control system, and the company have no plans for changing this. So
source safe is not an option for me.

What I would like to do was to check out the source code from CVS to a
network drive. This works fine, but when I try to run my applications I get
a lot of security errors because the network drive only have partial trust,
and I don't want to grant Full Trust to all network drives. Only the one
with my source code, if possible.

Regards
Anders
 
Anders K. Olsen said:
Hello group.

I would like to develop my software from a network share, that is, place
my code on a network share. Is it possible to grant Full Trust to this
share (e.g. X:) and only to this share?

The reason for this, is that I can then ensure that there are taken backup
of my current work, in case something happends to my laptop. I know it may
be a bit slower to compile against a network share, but I can live with
that.

We also have a version control system, but I also want some extra security
for the code under development.

Regards
Anders Olsen



Following command adds a code group under 1.2 (localintranet) with
"fulltrust" to everything on the share MyShare:

CasPol.exe -m -ag 1.2 -url file://Server/MyShare/* FullTrust

Please read the docs on caspol in MSDN for a detailed explanation of the
command line arguments.

Willy.
 
Willy Denoyette said:
Following command adds a code group under 1.2 (localintranet) with
"fulltrust" to everything on the share MyShare:

CasPol.exe -m -ag 1.2 -url file://Server/MyShare/* FullTrust

Please read the docs on caspol in MSDN for a detailed explanation of the
command line arguments.

Perfect. Just what I needed.

Thank you very much for your help.

Regards
Anders
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top