mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 02:10:49 +01:00
Issue #76: Disable directory listings for attachments.
This commit is contained in:
parent
445fb6d0eb
commit
b8f13a12a8
14
README
14
README
@ -120,6 +120,20 @@ the current version of Jutda Helpdesk working.
|
|||||||
|
|
||||||
This is NOT recommended, especially if you're on a shared server.
|
This is NOT recommended, especially if you're on a shared server.
|
||||||
|
|
||||||
|
8. Ensure that your 'attachments' folder has directory listings turned off,
|
||||||
|
to ensure users don't download files that they are not specifically linked
|
||||||
|
to from their tickets.
|
||||||
|
|
||||||
|
If you are using Apache, put a .htaccess file in the 'attachments' folder
|
||||||
|
with the following content:
|
||||||
|
|
||||||
|
Options -Indexes
|
||||||
|
|
||||||
|
You will also have to make sure that .htaccess files aren't being ignored.
|
||||||
|
|
||||||
|
Ideally, accessing http://MEDIA_URL/helpdesk/attachments/ will give you a
|
||||||
|
403 access denied error.
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
5. Initial Configuration
|
5. Initial Configuration
|
||||||
#########################
|
#########################
|
||||||
|
Loading…
Reference in New Issue
Block a user