KernelNewbiesRU
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Kernelnewbies

  • На главную

  • Kernel Hacking

  • Документация

  • Глоссарий

  • FAQ

  • Linux Changelog

  • UpstreamMerge

Проекты

  • KernelProjects

  • KernelMentors

  • KernelJanitors

Сообщества

  • Дистрибутивы

  • На других языках

  • Страницы участников

  • Списки рассылок

Другое

  • Программирование

  • Полезные ссылки

Wiki bits

  • Site Editors

  • Navigation Menu

  • WikiSandBox

  • WikiWall Terms of Service

  • Hosted by WikiWall

Navigation

  • RecentChanges
  • FindPage
  • HelpContents
KernelNewbiesRU:
  • AiutoSuConfigurazione
  • FileAllegati

L'azione AttachFile consente a una pagina di avere diversi file allegati. Dato che gli allegati possono portare ad attacchi di tipo DoS (Denialf of Service), l'azione AttachFile può essere disabilitata dall'amministratore del wiki (aggiungendo actions_excluded = ['AttachFile'] alla configurazione).

Questo è tutto quello che c'è da fare per la configurazione.

Come sono gestiti gli allegati

Gli allegati sono archiviati "privatamente" nella directory data/pages (con percorsi come data/pages/<nomepagina>/attachments/<nomefile>) e possono essere recuperati solamente usando l'azione AttachFile (via URL come http://example.org/mywiki/<QualchePagina>?action=AttachFile&do=get&target=nomefile.ext).

/!\ Il direct serving method (deprecato da molto tempo) è stato rimosso da moin 1.7.0. Se è stato usato (attachments = {...}), copiare gli allegati nella directory data e assicurarsi di posizionarli nella posizione corretta.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01