HiddenStor

Name

HiddenStor -- Enables more safe file uploads

Synopsis

HiddenStor [ HiddenStor on|off]

Default

HiddenStor off

Context

<Directory>, <Anonymous>, <VirtualHost>, <Global>

Module

mod_xfer

Compatibility

1.2.0pre5 and later

Description

The HiddenStor directive enables two-step file uploads: files are uploaded as ".in.filename." and once the upload is complete, renamed to just "filename". This provides a degree of atomicity and helps prevent 1) incomplete uploads and 2) files being used while they're still in the progress of being uploaded. Note: if the temporary file name is already in use (e.g., a server crash during upload), it will prevent the file from being uploaded.

The REST (Restart STOR) command is automatically blocked when HiddenStor is enabled, with the server returning a 501 error code to the client.

See also

AllowStoreRestart DeleteAbortedStores

Examples

Рейтинг@Mail.ru