PC Review


Reply
Thread Tools Rate Thread

Allow write access to new files, but read access to existing files

 
 
eagle
Guest
Posts: n/a
 
      6th Feb 2007
I'm trying to setup an archive folder for storing CAD data. I want my user
to be able to copy files (from a working folder to the Archive folder) but
once the file is there, they can not change/delete the file.

And if the file already exists, and the try to copy over it with a file of
the same name, they are not allowed.


 
Reply With Quote
 
 
 
 
Marcin Domaslawski
Guest
Posts: n/a
 
      7th Feb 2007
Hi,

Turn off inheritance on your folder, and next for users set permissions:
- Read & execute
- List Folder contents
- Read
and next in Advanced add Create file / write data permission

Marcin Domaslawski


Użytkownik "eagle" <(E-Mail Removed)> napisał w wiadomości
news:(E-Mail Removed)...
> I'm trying to setup an archive folder for storing CAD data. I want my user
> to be able to copy files (from a working folder to the Archive folder) but
> once the file is there, they can not change/delete the file.
>
> And if the file already exists, and the try to copy over it with a file of
> the same name, they are not allowed.
>



 
Reply With Quote
 
Harry Johnston
Guest
Posts: n/a
 
      7th Feb 2007
Marcin Domaslawski wrote:

>> I'm trying to setup an archive folder for storing CAD data. I want my user
>> to be able to copy files (from a working folder to the Archive folder) but
>> once the file is there, they can not change/delete the file.


> Turn off inheritance on your folder, and next for users set permissions:
> - Read & execute
> - List Folder contents
> - Read
> and next in Advanced add Create file / write data permission


To fine-tune this a little, make sure CREATOR/OWNER has no permissions, and that
the Create file permission is set to apply to "This folder only".

This still won't prevent people from deleting the files they created themselves
if they know what they are doing, but it will usually protect against
accidentally deleting or overwriting them.

Unfortunately Windows provides no way to prevent a user from deleting a file he
created himself. (Short of having a program running which watches for new files
and changes the ownership.)

Harry.
 
Reply With Quote
 
Marcin Domaslawski
Guest
Posts: n/a
 
      8th Feb 2007
Hi,

When you copy file(s) to an folder its permissions are inhetited from this
folder (when you move file - is different). So if you set permissions
properly - you will able to force, you copy file to your prepared folder but
you will not able to delete or change it any more.

In this case we're talking about restricted users and not administrators -
admiinstrator is 2nd after the God ;-) .

Marcin Domaslawski



Uzytkownik "Harry Johnston" <(E-Mail Removed)> napisal w wiadomosci
news:eGywU%(E-Mail Removed)...
> Marcin Domaslawski wrote:
>
> >> I'm trying to setup an archive folder for storing CAD data. I want my
> >> user
> >> to be able to copy files (from a working folder to the Archive folder)
> >> but
> >> once the file is there, they can not change/delete the file.

>
>> Turn off inheritance on your folder, and next for users set permissions:
>> - Read & execute
>> - List Folder contents
>> - Read
>> and next in Advanced add Create file / write data permission

>
> To fine-tune this a little, make sure CREATOR/OWNER has no permissions,
> and that the Create file permission is set to apply to "This folder only".
>
> This still won't prevent people from deleting the files they created
> themselves if they know what they are doing, but it will usually protect
> against accidentally deleting or overwriting them.
>
> Unfortunately Windows provides no way to prevent a user from deleting a
> file he created himself. (Short of having a program running which watches
> for new files and changes the ownership.)
>
> Harry.



 
Reply With Quote
 
=?Utf-8?B?SWFu?=
Guest
Posts: n/a
 
      8th Feb 2007
Forget permissions, they're a hiding to nothing.

Create two folders, one shared the other not.

Users upload files to the shared folder.

Nightly, a sheduled task runs which copies/moves them to the restricted
folder. XCOPY should be adequate for this.


 
Reply With Quote
 
Harry Johnston
Guest
Posts: n/a
 
      8th Feb 2007
Marcin Domaslawski wrote:

> When you copy file(s) to an folder its permissions are inhetited from this
> folder (when you move file - is different). So if you set permissions
> properly - you will able to force, you copy file to your prepared folder but
> you will not able to delete or change it any more.


Ah, but there is a catch. When you create a file (which includes creating a new
file by copying an existing one) you are assigned ownership of the new file, and
the owner of a file (even restricted users) can always change the permissions on
that file.

The upshot is that the person who creates a file can always delete it, though
they might have to change the permissions on the file first in order to do so.

Actually I've just remembered that there was once a way around this (which may
still work) using share level permissions. If the permissions on a share
allowed a user change but not full access, the user couldn't change permissions
on files on the share even if they owned them. This definitely worked in the NT
4 days, it probably still works but I don't know for sure.

Harry.
 
Reply With Quote
 
eagle
Guest
Posts: n/a
 
      12th Feb 2007
The only problem with that is that my files a CAD files, that have links to
other files by folder path and filename. I need to use a my CAD software to
copy the files to this folder to maintain all links. I can't batch this yet
(working on a VB program to do it for me).


"Ian" <(E-Mail Removed)> wrote in message
news:3D47E445-3401-4DDD-BCC3-(E-Mail Removed)...
> Forget permissions, they're a hiding to nothing.
>
> Create two folders, one shared the other not.
>
> Users upload files to the shared folder.
>
> Nightly, a sheduled task runs which copies/moves them to the restricted
> folder. XCOPY should be adequate for this.
>
>



 
Reply With Quote
 
eagle
Guest
Posts: n/a
 
      12th Feb 2007
This worked (once i played with it for abit). The problem was that my data
(CAD models) has links to other files, and once i copy them there, my CAD
software needs to change the links so everything is pointing to the Archive
folder. It can't do that since it doesn't have wrtie permissions.

This setup however is a great setup for non CAD data folders at my company
where we have to put everything in a sharder folder, then 1 guy copies them
over to a "locked" folder when ever he wants. Hard to find stuff when there
are multiple locations.

Thanks for the help



"Marcin Domaslawski" <(E-Mail Removed)> wrote in message
news:eqckae$3af$(E-Mail Removed)...
> Hi,
>
> Turn off inheritance on your folder, and next for users set permissions:
> - Read & execute
> - List Folder contents
> - Read
> and next in Advanced add Create file / write data permission
>
> Marcin Domaslawski
>
>
> Użytkownik "eagle" <(E-Mail Removed)> napisał w wiadomości
> news:(E-Mail Removed)...
>> I'm trying to setup an archive folder for storing CAD data. I want my
>> user to be able to copy files (from a working folder to the Archive
>> folder) but once the file is there, they can not change/delete the file.
>>
>> And if the file already exists, and the try to copy over it with a file
>> of the same name, they are not allowed.
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Write access for author but no access to other files Nekocat Microsoft Windows 2000 Security 0 22nd Dec 2008 07:46 PM
Secure files that must have read/write access? Bill Windows XP Security 4 23rd Feb 2008 07:40 PM
How to open a file for read/write access in Program Files directory Michael Harvey Windows Vista Security 1 28th Feb 2007 11:10 PM
Read and write MS Access files with smartdevice application datamodel Microsoft Dot NET Compact Framework 2 28th Nov 2005 09:26 PM
Read-only access to FAT32/NTFS files w/ write locks? Matt Windows XP General 3 22nd Apr 2005 07:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:13 AM.