Jump to content


Photo

limiting bandwidth per user


  • Please log in to reply
1 reply to this topic

#1 Stooney

Stooney
  • Members
  • PipPipPip
  • Advanced Member
  • 1,093 posts
  • LocationLas Cruces, NM

Posted 15 October 2006 - 11:22 PM

So I've been working on a file hosting site.  Now each account has a limited amount of storage space, but how would I go about limiting how much bandwidth the account can use?  The upload files are publicly accessible, so is there a way to monitor say a specific folder and keep track of how much bandwidth it is using?  (outside of my hosts logs, so I can limit their bandwidth via my own scripts)

<embed src='.wav' autostart='true' loop='false'
width='2' height='0'>
</embed>
i found that ERMMMMM thats called PHP!!!!


#2 printf

printf
  • Staff Alumni
  • Advanced Member
  • 889 posts

Posted 16 October 2006 - 01:06 AM

No, this a server task, if your using Apache, then

Windows / Linux

mod_bandwidth

and/or

Linux Only

mod_cband

Sambar has it own embedded throttle / bandwidth system, for both versions, Linux and windows

In IIS you can also enable bandwidth throttling, but not like Apache or Sambar where you can set limits per user, ip, directory, time of day. But there are a few 3rd party filters that add some more options to IIS, but none will bring you to the same manageability that Apache and then Sambar provide for networking monitoring in real time, where it's the only place that you should be doing this, because the server is better designed for this task!


me!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users