Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have a program that compiles executables into a folder into c:\bin. Ideally I would like to share this folder so users can access the exe's within but stop them creating any other files in there. The reason for this is to stop users grabbing source code and putting it in a shared drive then taking it.

We have a Domain Controller setup and all the users belong to a specific security group.

Is there any way to achieve this?

EDIT: TO clarify, I need to stop users from creating or moving files INTO the C:\bin folder which are not executables.

share|improve this question
    
So you want to stop them from creating files TO there or stop them from copying/moving files FROM there? Your question isn't very clear on that point. –  joeqwerty Nov 29 '12 at 15:54
    
@joeqwerty I have edited my post, thanks. –  webnoob Nov 29 '12 at 16:47
add comment

1 Answer

up vote 2 down vote accepted

TO clarify, I need to stop users from creating or moving files INTO the C:\bin folder which are not executables.

I think what you want is a File Screening policy using the File System Resource Manager available on Windows Server 2008 and later. You can have a policy that only allows *.exe to exist in a certain directory.

From the linked document:

Create file screens to control the types of files that users can save and to send notifications when users attempt to save blocked files.

Define file screening templates that can be easily applied to new volumes or folders and that can be used across an organization.

Create file screening exceptions that extend the flexibility of the file screening rules.

share|improve this answer
    
Perfect, thanks. –  webnoob Nov 30 '12 at 7:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.