|
|
|
Registry
|
Overview
It is possible
to increase the level of security by using specific properties
directly in the server's registry base. That way, an ISP can
define his own security parameters (maximum file size, access
authorization limited to virtual directories, etc). The
developers cannot modifiy the ISP parameters because the
component uses in priority the security properties defined in
the registry base.
The Registry case
All the
modifiable values in the Registry must be located under the
following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Advantys\aspSmartUpload
Use the REGEDIT command to add this key and the data and their
chain values that you can select in the list below.
All the following data are the string type. If you use the
REGEDT32 command the data must be the REG_SZ type.
The Registry data
The following
properties can be an entry in the Registry.
The component will only use their value if they are felt in.
|
TotalMaxFileSize
|
Maximum allowed size of all files to be uploaded.
|
|
MaxFileSize
|
Maximum allowed size of one file to be uploaded.
|
|
AllowedFilesList
|
Contains the upload authorized file extensions list.
|
|
DeniedFilesList
|
Contains the upload denied file extensions list.
|
|
DenyPhysicalPath
|
Prevents file saving in directories other than
virtual directories.
|
|
|
|
|
|