LINUX.ORG.RU
ФорумAdmin

Запрет отсылки файлов. SQUID


0

0

Привет всем!
Возникла проблема.
Есть локалка с сервером на SLES 10.1
Народ ходит в мир через SQUID.
Как запретить отсылку файлов?

acl download_files rep_mime_type audio video application
http_reply_access deny download_files

это только запрещает качнуть, отправить позволяет.

Может есть другое решиние?

Заранее благодарен.

Ответ на: комментарий от NEM

read squid.conf

#  TAG: request_body_max_size   (KB)
#       This specifies the maximum size for an HTTP request body.
#       In other words, the maximum size of a PUT/POST request.
#       A user who attempts to send a request with a body larger
#       than this limit receives an "Invalid Request" error message.
#       If you set this parameter to a zero (the default), there will
#       be no limit imposed.
#
#Default:
# request_body_max_size 0 KB

sdio ★★★★★
()
Ответ на: комментарий от NEM

и напрочь авторизацию и отправку вообще всех форм через пост? Может лучше все-таки ограничить размер?

anonymous
()
Ответ на: комментарий от NEM

А кто еще подскажет такое:

есть правило 

acl download_files rep_mime_type audio video application

http_reply_access deny download_files
deny_info ERR_NO_DOWNLOAD download_files

Ничего не качается, а RAR качается.
Что за беда?

NEM
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.