Restrict the amount of space a folder can use
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}
I have a directory I have given write access to everyone
and shared it for the LAN (for easy distribution of files within my sharehouse). I want to be able to remove any chance that my drive will fill up unexpectedly (by people copying copious amounts of data).
Is there some security setting I could set on it that will reject any writes if the folder has reached a certain size?
Another idea I thought of would be to make a new partition on the disk, and then share the resultant drive, which would have a fixed size. But that's way too inflexible (waht if I wanted to increase the cap?) and too much hassle (my physical drive is currently fully utilised as a single partition).
Going on from that idea, though, is there a way I can create a virtual drive, and have that map to a directory? Because I'm guessing I could force the size constraint on the virtual volume and share/only write to that.
windows-7 network-shares file-management restrictions virtual-disk
add a comment |
I have a directory I have given write access to everyone
and shared it for the LAN (for easy distribution of files within my sharehouse). I want to be able to remove any chance that my drive will fill up unexpectedly (by people copying copious amounts of data).
Is there some security setting I could set on it that will reject any writes if the folder has reached a certain size?
Another idea I thought of would be to make a new partition on the disk, and then share the resultant drive, which would have a fixed size. But that's way too inflexible (waht if I wanted to increase the cap?) and too much hassle (my physical drive is currently fully utilised as a single partition).
Going on from that idea, though, is there a way I can create a virtual drive, and have that map to a directory? Because I'm guessing I could force the size constraint on the virtual volume and share/only write to that.
windows-7 network-shares file-management restrictions virtual-disk
See this SO Question stackoverflow.com/questions/532775/…
– Preet Sangha
Dec 21 '13 at 4:10
thanks for the response. If you could [in an answer] adequately explain how I could use quotas for my above scenario I would much appreciate it
– Hashbrown
Dec 21 '13 at 4:16
add a comment |
I have a directory I have given write access to everyone
and shared it for the LAN (for easy distribution of files within my sharehouse). I want to be able to remove any chance that my drive will fill up unexpectedly (by people copying copious amounts of data).
Is there some security setting I could set on it that will reject any writes if the folder has reached a certain size?
Another idea I thought of would be to make a new partition on the disk, and then share the resultant drive, which would have a fixed size. But that's way too inflexible (waht if I wanted to increase the cap?) and too much hassle (my physical drive is currently fully utilised as a single partition).
Going on from that idea, though, is there a way I can create a virtual drive, and have that map to a directory? Because I'm guessing I could force the size constraint on the virtual volume and share/only write to that.
windows-7 network-shares file-management restrictions virtual-disk
I have a directory I have given write access to everyone
and shared it for the LAN (for easy distribution of files within my sharehouse). I want to be able to remove any chance that my drive will fill up unexpectedly (by people copying copious amounts of data).
Is there some security setting I could set on it that will reject any writes if the folder has reached a certain size?
Another idea I thought of would be to make a new partition on the disk, and then share the resultant drive, which would have a fixed size. But that's way too inflexible (waht if I wanted to increase the cap?) and too much hassle (my physical drive is currently fully utilised as a single partition).
Going on from that idea, though, is there a way I can create a virtual drive, and have that map to a directory? Because I'm guessing I could force the size constraint on the virtual volume and share/only write to that.
windows-7 network-shares file-management restrictions virtual-disk
windows-7 network-shares file-management restrictions virtual-disk
edited Dec 21 '13 at 4:04
Hashbrown
asked Dec 21 '13 at 2:24
HashbrownHashbrown
1,18922037
1,18922037
See this SO Question stackoverflow.com/questions/532775/…
– Preet Sangha
Dec 21 '13 at 4:10
thanks for the response. If you could [in an answer] adequately explain how I could use quotas for my above scenario I would much appreciate it
– Hashbrown
Dec 21 '13 at 4:16
add a comment |
See this SO Question stackoverflow.com/questions/532775/…
– Preet Sangha
Dec 21 '13 at 4:10
thanks for the response. If you could [in an answer] adequately explain how I could use quotas for my above scenario I would much appreciate it
– Hashbrown
Dec 21 '13 at 4:16
See this SO Question stackoverflow.com/questions/532775/…
– Preet Sangha
Dec 21 '13 at 4:10
See this SO Question stackoverflow.com/questions/532775/…
– Preet Sangha
Dec 21 '13 at 4:10
thanks for the response. If you could [in an answer] adequately explain how I could use quotas for my above scenario I would much appreciate it
– Hashbrown
Dec 21 '13 at 4:16
thanks for the response. If you could [in an answer] adequately explain how I could use quotas for my above scenario I would much appreciate it
– Hashbrown
Dec 21 '13 at 4:16
add a comment |
2 Answers
2
active
oldest
votes
Using the notions in my answer you can use this tutorial I later found to set up a Virtual Hard Disk
. It explains how you can create, initialise and format a VHD
from the Computer Management
tool.
Unfortunately the VHD
is stored as a file, meaning the disk actually has it's own file format and structure. So you can't access the files without going through the mounted disk. It is not a simple high-level map to a real directory on a host disk (which I'm sure there would be software out there for, and would be ideal).
This solution works natively without third party software and is not as inflexible as creating a real partition on another drive.
add a comment |
One way of doing so is to go to the 'properties' of the volume and configure 'Quota management.
-> my computer
-> local disk (c:) or whatever volume you are using for the share
-> Right-Click Properties
-> quota
-> quota management
How would this work in my case where the user iseveryone
? I don't want to restrict this user class only to cause issues when I run things to write to other directories in that drive which may utilise this user.
– Hashbrown
Dec 21 '13 at 4:52
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f691420%2frestrict-the-amount-of-space-a-folder-can-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Using the notions in my answer you can use this tutorial I later found to set up a Virtual Hard Disk
. It explains how you can create, initialise and format a VHD
from the Computer Management
tool.
Unfortunately the VHD
is stored as a file, meaning the disk actually has it's own file format and structure. So you can't access the files without going through the mounted disk. It is not a simple high-level map to a real directory on a host disk (which I'm sure there would be software out there for, and would be ideal).
This solution works natively without third party software and is not as inflexible as creating a real partition on another drive.
add a comment |
Using the notions in my answer you can use this tutorial I later found to set up a Virtual Hard Disk
. It explains how you can create, initialise and format a VHD
from the Computer Management
tool.
Unfortunately the VHD
is stored as a file, meaning the disk actually has it's own file format and structure. So you can't access the files without going through the mounted disk. It is not a simple high-level map to a real directory on a host disk (which I'm sure there would be software out there for, and would be ideal).
This solution works natively without third party software and is not as inflexible as creating a real partition on another drive.
add a comment |
Using the notions in my answer you can use this tutorial I later found to set up a Virtual Hard Disk
. It explains how you can create, initialise and format a VHD
from the Computer Management
tool.
Unfortunately the VHD
is stored as a file, meaning the disk actually has it's own file format and structure. So you can't access the files without going through the mounted disk. It is not a simple high-level map to a real directory on a host disk (which I'm sure there would be software out there for, and would be ideal).
This solution works natively without third party software and is not as inflexible as creating a real partition on another drive.
Using the notions in my answer you can use this tutorial I later found to set up a Virtual Hard Disk
. It explains how you can create, initialise and format a VHD
from the Computer Management
tool.
Unfortunately the VHD
is stored as a file, meaning the disk actually has it's own file format and structure. So you can't access the files without going through the mounted disk. It is not a simple high-level map to a real directory on a host disk (which I'm sure there would be software out there for, and would be ideal).
This solution works natively without third party software and is not as inflexible as creating a real partition on another drive.
answered Dec 21 '13 at 4:28
HashbrownHashbrown
1,18922037
1,18922037
add a comment |
add a comment |
One way of doing so is to go to the 'properties' of the volume and configure 'Quota management.
-> my computer
-> local disk (c:) or whatever volume you are using for the share
-> Right-Click Properties
-> quota
-> quota management
How would this work in my case where the user iseveryone
? I don't want to restrict this user class only to cause issues when I run things to write to other directories in that drive which may utilise this user.
– Hashbrown
Dec 21 '13 at 4:52
add a comment |
One way of doing so is to go to the 'properties' of the volume and configure 'Quota management.
-> my computer
-> local disk (c:) or whatever volume you are using for the share
-> Right-Click Properties
-> quota
-> quota management
How would this work in my case where the user iseveryone
? I don't want to restrict this user class only to cause issues when I run things to write to other directories in that drive which may utilise this user.
– Hashbrown
Dec 21 '13 at 4:52
add a comment |
One way of doing so is to go to the 'properties' of the volume and configure 'Quota management.
-> my computer
-> local disk (c:) or whatever volume you are using for the share
-> Right-Click Properties
-> quota
-> quota management
One way of doing so is to go to the 'properties' of the volume and configure 'Quota management.
-> my computer
-> local disk (c:) or whatever volume you are using for the share
-> Right-Click Properties
-> quota
-> quota management
answered Dec 21 '13 at 4:34
taahir_tx10taahir_tx10
1
1
How would this work in my case where the user iseveryone
? I don't want to restrict this user class only to cause issues when I run things to write to other directories in that drive which may utilise this user.
– Hashbrown
Dec 21 '13 at 4:52
add a comment |
How would this work in my case where the user iseveryone
? I don't want to restrict this user class only to cause issues when I run things to write to other directories in that drive which may utilise this user.
– Hashbrown
Dec 21 '13 at 4:52
How would this work in my case where the user is
everyone
? I don't want to restrict this user class only to cause issues when I run things to write to other directories in that drive which may utilise this user.– Hashbrown
Dec 21 '13 at 4:52
How would this work in my case where the user is
everyone
? I don't want to restrict this user class only to cause issues when I run things to write to other directories in that drive which may utilise this user.– Hashbrown
Dec 21 '13 at 4:52
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f691420%2frestrict-the-amount-of-space-a-folder-can-use%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
See this SO Question stackoverflow.com/questions/532775/…
– Preet Sangha
Dec 21 '13 at 4:10
thanks for the response. If you could [in an answer] adequately explain how I could use quotas for my above scenario I would much appreciate it
– Hashbrown
Dec 21 '13 at 4:16