O.K. I ran the 'Network Wizard' on Windows XP pro to enable file and printer sharing on a small network. It works fine, and my network shared folder is accessible (both read and write) from all other computers on my network worgroup, without the need for the remote user's login ID or password to be entered in the local user accounts on this computer. Excelent.
Next, I created a BACKUP.CMD batch file to copy the contents of the 'Documents and Settings' folder of the remote computer to a folder within the network shared folder on this computer. For this I used Microsoft's RoboCopy command, and exclude specific files and folders such as the 'temp' and 'temporary internet files' folders.
This works great, and maintains a central backup of each user's documents (which also has another backup). However, this signifigantly reduces security as all of the network shared folder is fully accessible to everyone who connects to the network. So, if someone takes the time to look at the nework resources, they can find each user's private documents. This is very undesireable.
So, what I would like to do is create another batch file which would change the access permissions of specific folders within the network shared folder, and then change the permissions back to the original settings at the known time when the backup is performed. The problem is, I don't know how to check or change folder permissions from the command line. Can anyone help me with this ?
Ideally, I'd like to set folder read and write permissions to be accessible only from the computer name (not the user name) from which they were originally created via the network, but I'm not even sure if this is possible.
- James.
My memory is not as good as it should be, and neither is my memory.
I have forgotten more than I can remember
Next, I created a BACKUP.CMD batch file to copy the contents of the 'Documents and Settings' folder of the remote computer to a folder within the network shared folder on this computer. For this I used Microsoft's RoboCopy command, and exclude specific files and folders such as the 'temp' and 'temporary internet files' folders.
This works great, and maintains a central backup of each user's documents (which also has another backup). However, this signifigantly reduces security as all of the network shared folder is fully accessible to everyone who connects to the network. So, if someone takes the time to look at the nework resources, they can find each user's private documents. This is very undesireable.
So, what I would like to do is create another batch file which would change the access permissions of specific folders within the network shared folder, and then change the permissions back to the original settings at the known time when the backup is performed. The problem is, I don't know how to check or change folder permissions from the command line. Can anyone help me with this ?
Ideally, I'd like to set folder read and write permissions to be accessible only from the computer name (not the user name) from which they were originally created via the network, but I'm not even sure if this is possible.
- James.
My memory is not as good as it should be, and neither is my memory.
I have forgotten more than I can remember