Re: [opensuse] Apache
- From: Willem Grooters <Willem@xxxxxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 08:58:06 +0200
FWIW:
If you want to do this using plain http or (anonymous) ftp, the answer
is likely to be "no".
You can do so, however, if the download is under control of a CGI
procedure, started by a <FORM> on a plain HTTP page (Either static of
dynamically created). In this procedure, you can check the size of the
file and decide to return the file, or a page stating the file is too
big to download, or any other message of your choice (or just
disconnect, which is, IMHO, not very polite).
If you wish files to be protected agains unauthorized download, it
might even be a better solution, because the files can be loaded
anywhere, and you can require authentication before downloading the
file.
Willem
On Tue, 31 Jul 2007 07:34:14 +0100 Jonathan Ervine <jervine@xxxxxxxxxx>
wrote:
On Tuesday 31 July 2007 06:11:13 you wrote:--
Thanks for your interest. Restriction can be for a file or a total amount
of size of the files that wants to be downloaded for a session. It is not
important for us to be broken. The main aim of us is to restrict users to
download all files that they can for some reason of security. It can be
such a way that if anybody wants to download files above some quota , if
the system can warn me about it, it is also a solution for us. Can we
really use squid instead of Apache? I could not understand your suggestion
for squid Best
<direct reply originally - sorry>
Your original query was when a user connected to an Apache server. It was
never made clear if this Apache server belonged to you or if it was just a
random Apache server out there... It now seems that it's 'your' Apache server
and you wish to restrict sessions to a certain amount of data allowed to be
transferred before the session is forcibly ended?
It seems a very odd request. What's to stop someone simply opening another
browser session? Or to run two browsers? I don't think what you're trying to
do is:
a) possible
b) providing any security benefit whatsoever
(and probably in reverse order)
Jon
--Jonathan Ervine <jervine@xxxxxxxxxx> 31.07.2007 04:09 >>>
On Monday 30 July 2007 13:00:44 CETIN OVALI wrote:
Hello
When I connect to a server (that is running apache on it ) and want to
download a file from this server , is it possible to restrict the file
size or limit file size of the downloaded file that logged in for a user
with his own password. Is there anybody in this group have any idea
about this item
Thanks
Presumably you don't administer the Apache server. If you restrict the
allowed file size to be downloaded the file that is downloaded is broken.
Is that what you want? Seems a weird request to me.
As far as I'm aware you can't restrict a single file size for a user
(although you can obviously use quotas). For your specific needs about
connecting to an Apache web server you might want to consider looking at
squid as a proxy cache and see if it can have a maximum file size.
http://www..squid-cache.org
Jon
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Prev by Date: Re: [opensuse] Apache
- Next by Date: Re: [opensuse] opensuse.org site updates
- Previous by thread: Re: [opensuse] Apache
- Next by thread: [opensuse] USB Camera and SuSE 9.2
- Index(es):
Relevant Pages
|