From fbba3876b537e84699b854e098936a5cd4fe0c8b Mon Sep 17 00:00:00 2001 From: steckbrief Date: Mon, 4 Jan 2016 21:48:17 +0100 Subject: Reduced manual configuration, folder structure created Determination of storage paths now relative to script directory and programmatically Determination of get and put URLs now based on the slot request request Basic access restriction to default directories --- storage-backend/config/.htaccess | 1 + storage-backend/config/config.inc.php | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 storage-backend/config/.htaccess create mode 100644 storage-backend/config/config.inc.php (limited to 'storage-backend/config') diff --git a/storage-backend/config/.htaccess b/storage-backend/config/.htaccess new file mode 100644 index 0000000..3418e55 --- /dev/null +++ b/storage-backend/config/.htaccess @@ -0,0 +1 @@ +deny from all \ No newline at end of file diff --git a/storage-backend/config/config.inc.php b/storage-backend/config/config.inc.php new file mode 100644 index 0000000..dd05a15 --- /dev/null +++ b/storage-backend/config/config.inc.php @@ -0,0 +1,13 @@ + ['abc'], + // Max Upload size in bytes + 'max_upload_file_size' => 10 * 1024 * 1024, + // Array of characters which are not allowed in filenames + 'invalid_characters_in_filename' => ['/'], +]; -- cgit v1.2.3