HiddenStores

<h2>Name</h2>

HiddenStores -- Enables more safe file uploads

 

<h2>Synopsis</h2>

HiddenStores [ <code class="OPTION">HiddenStores on|off</code>]

 

Default

</dt><dd>

HiddenStores off

</dd><dt>

Context

</dt><dd>

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

</dd><dt>

Module

</dt><dd>

mod_xfer

</dd><dt>

Compatibility

</dt><dd>

1.2.7rc1 and later

</dd></dl>

 

<h2>Description</h2>

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.