Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Prevent users to save certain file types in specific storage locations

Posted on 2013-11-02
Medium Priority
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 :-) ]
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

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 41

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 600 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 41

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 900 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
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…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

721 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