Using %computername% to create private files

  • Thread starter Thread starter Ess101
  • Start date Start date
E

Ess101

Hi,

I'm thinking of several alternatives to create private files on a
certain server area where the files would be stored as the name of the
computer. E.g. file \monkey1 would be created for pc monkey1

I aim do to this under a batch file using the %computername% method to
gain the name of the comptuer.

I would like each PC to be able to read, write and execute its own
folder and the files within it but not to be able to view the others.
E.g. Computer monkey1 should not be able to read, write or access
folder \monkey2 (or it's sub folders).

Is there a way this could be achieved?

Many thanks,
Ess
 
Not with Share or NTFS permissions. Requests for access to shared resources
present user account credentials not computer account credentials. You can
add a computer account to an access control list and set its permissions to
Deny access but this has no effect on file access by the user logged onto
that computer.

Doug Sherman
MCSE, MCSA, MCP+I, MVP
 
So is there any way of sharing files by computer account credentials
instead of useraccount credentials?

Many thanks,
Ess
 

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