• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 336
  • Last Modified:

How do I create SMB/FTP bandwidth caps

Hello.  I have a Windows Server running File Sharing.  I configured the permissions for the shares using Active Directory accounts.  I'd like to configure an FTP server that uses the same ACLs as the File Server, but also prevents the user from downloading more than 2GB within 24 hours.  I'd like it to kill any downloads that hit the 2GB max, and then lock the domain account for 48 hours.  How can I do this? Thanks
0
crazyfixer
Asked:
crazyfixer
  • 7
  • 4
1 Solution
 
mustang83Commented:
This cannot be done using windows ftp servers.

you can use third party paid for ftp programs which will allow better file size limitations and time limits etc. Some will also have access to AD ldap database so it can use your acl's.

What they can't do is lock a domain account for 48 hours. In fact I've never seen this functionality in anything other password wrong scenarios.

The only functionality you can use regarding file size is quota management but that more to do with how much can be stored per user on a share.

If i wanted something like this i would create a website using ASP and write something that showed the shares and allow users to download but also watch there downloads and block there account on the website rather than in active directory. You can google 'asp file manager' as there are lots of these types of programs already written.

Hope this helps.


0
 
crazyfixerAuthor Commented:
I know someone I used to work with did this on Solaris. (including locking domain accounts)  Do you know the names of any of these ASP programs?  Will they work with Server 2k3?
0
 
parparovCommented:
You can do the policies in the network equipment instead.
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
mustang83Commented:
There are a few but ive never used them.

Just google 'asp web manager' and see what comes up. Theres one called filevista.

I have found a ftp server for windows with limits.

http://www.codeocean.com/products/oceanftpserver/index.html

There is also a ftp server / web manager in one (a ftp server with a web client) which is very good.

http://www.wftpserver.com/index.htm

Using solaris or linux there are many free ftp servers which will do what you want though they are quite difficult to setup.



0
 
crazyfixerAuthor Commented:
That Ocean FTP server looks promising if it can use active directory for authentication.
0
 
crazyfixerAuthor Commented:
I've settled on trying Wing FTP but it doesn't record the statistics needed for quotas if you use an Active Directory user.  Do you know how to fix that?
0
 
mustang83Commented:
looks to me like you have to setup wing to use active directory and then map ad users to local users.

you can then define the local users with the quotas etc that you want.
0
 
crazyfixerAuthor Commented:
I have done that, but the only time the quota (or even logins) is calculated is when I login with the local user name, and not the AD account.
0
 
crazyfixerAuthor Commented:
WingFTP won't work as it can't provide user quotas for AD users.  Ocean is too expensive.  Is there perhaps a way to do this with IIS, or another software?
0
 
mustang83Commented:
You cannot do this with IIS.

Theres another one called bulletproof ftp.
http://www.bpftpserver.com/

you can get a free trial.

Otherwise check this list.

http://en.wikipedia.org/wiki/Comparison_of_FTP_server_software
0
 
crazyfixerAuthor Commented:
Thanks. I already looked at BPFTP and that wiki list before coming here.  WingFTP seems like the best option, but it appears broken in that sense.  I'll see if I can work with the company to fix it.
0
 
crazyfixerAuthor Commented:
WingFTP wound up being the product I am going to work with, but it's got a glitch or something that won't work properly right now.  Hopefully it will be fixed, and I can then use it
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

  • 7
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now