Skip to content

TALK: Whitelist allowed files/directories accessed through apache inside the dolibarr container #53

@JonBendtsen

Description

@JonBendtsen

Hey

Let's whitelist allowed files accessed through apache inside the dolibarr container

Denied:

  • conf/
  • langs/
  • conf.php
  • .git
  • .gitignore
  • *.lang
  • *.xml
  • *.odt ?
  • *.otf ?
  • *.yml
  • *.sql
  • *.txt
  • *.md

Allowed:

  • almost *.php
  • *.png?
  • *.jpg
  • *.gif
  • *.ico
  • *.css
  • *.js
  • *.zvg
  • *.svg
  • *.html
  • *.webp
  • *.ttf

Preferably this is done both in apache configuration and in a .htaccess file - for security, and I don't think that the .htaccess files will impact performance too much - because how much load is there on a CRM?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions