HiddenStores

Name

HiddenStores -- Enables more safe file uploads

Synopsis

HiddenStores [ HiddenStores on|off]

Default

HiddenStores off

Context

server config, <Global>, <VirtualHost>, <Anonymous>, >

Module

mod_xfer

Compatibility

1.2.7rc1 and later

Description

The HiddenStores 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 HiddenStores is enabled, with the server returning a 501 error code to the client.

See also

AllowStoreRestart DeleteAbortedStores