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
  • 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 :-) ]
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.  

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

LVL 39

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 18

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 39

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this previous article (, we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now