Prevent users to save certain file types in specific storage locations

Posted on 2013-11-02
Last Modified: 2014-05-29

Some users are filling up our NASes with heavy pictures.

I would like to oblige them to save pictures in specific storage locations (on other cheaper, less redundant NASes) and forbid them to save them anywhere else.

Another way to achieve that goal would be to build and run a small daily script that would move the files but this might be destabilizing for the users that wouldn't find back their files easily.

Ideas welcome !


Question by:Urbantrax
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
  • +3
LVL 70

Expert Comment

ID: 39618935
I'm not aware of any "write except for filetypes x,y,z" type of restrictions you could apply.

You could use storage quotas  => although this may only result in a lot of requests to expand quotas as users run out of space.

The best thing is to simply educate your users => perhaps create a separate NAS for photos and publicize this.

Are all of the pictures in the user's "Pictures" folder?    If so, you could alter your standard configurations so "Pictures" are stored in the alternative location where you want them.

Author Comment

ID: 39619008
These users don't want to be educated. They are from the sales department and think they rule the world ...
Pictures are spread everywhere.
There is already a separate NAS for pictures but they rarely use it, hence my request
LVL 70

Expert Comment

ID: 39619032
Given that mindset, I suspect your idea of a script to simply move everything to where it's supposed to be stored is the best choice.    You'll probably have to field a lot of "where are my pictures" questions for a while;  but they'll quickly learn that if they simply store them in the right place, it's not an issue.    [A bit of "forced" education :-) ]
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

LVL 20

Expert Comment

ID: 39619151
No points for me, I just want to back up what garycase has stated.  I am not aware of a solution to restrict by file type (maybe another expert can jump in with a solution).  Therefore, I agree with forcing the behavior you want with a script to automatically move the files.  My suggestion is to publish this change even though they may ignore it.  You can at least reference back to the fact they were told.  Also be ready for a large increase in service calls until most of them learn to behave.  Eventually most of them, but not all, will start putting files in the correct place to start with.  Be ready for some political backlash if they think the rule the world.  Also, think about the user who will save the file.  Think it disappeared and save it again, and again, and again.  

LVL 40

Expert Comment

ID: 39619337
The closest to this that I know of is file screening (which is part of File Server Resource Manager), which is available on Server 2003 R2+.  If the users are accessing the NAS through a Windows server (which would act as a filer), then this could be implemented.  It only affects the volumes that are accessed through it (and are configured).  Also, I know some NASes have this functionality built in.
LVL 19

Assisted Solution

by:Raheman M. Abdul
Raheman M. Abdul earned 200 total points
ID: 39619629
Move the files using script and keep a note in the Text file named: Your Files Moved and click the shortcut.
Place the folder shortcut as well for them to click to go to where the files are.

Author Comment

ID: 39643154

 I like your file screening approach.

Currently, the NASes are independant devices on the network.

Can you be more extensive on "If the users are accessing the NAS through a Windows server (which would act as a filer), then this could be implemented.". Are you thinking about iSCSCI ?

Our NASes are QNAP. Which NASes have this functionality built in ?
LVL 40

Expert Comment

ID: 40060544
My apologies, I realize I didn't respond to your last question.  However, there's not much I can add.  In the scenario of the Windows server as a filer, the storage could be direct-attached, iSCSI, etc.  I think anything where you're accessing the data via a share configured on the Windows server fits the scenario.

I don't have names of which NASes have this functionality built-in, I've just read about them.  It's been too long since I've seen the mention to recall details about the model or brand.

If you script a solution, particularly if the moved files' path includes a username, then you should be able to send out email notifications to matching users along with the move.
LVL 14

Accepted Solution

BlueCompute earned 300 total points
ID: 40064112
QNAP will not allow you to do this.

Footech has it right, the only proper way to do this with your equipment would be to use the QNAPs as an iSCSI target for your Windows file server, have the shares on the iSCSI volume and use the File Server Resource Manager, as described here:

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question