Skip to content

[Feature] add a page about using the H2 database #3542

Open
@pjfanning

Description

@pjfanning

Feature Request

There is a page about MySQL.
https://hertzbeat.apache.org/docs/help/mysql/

From the mailing lists, there is evidence that some users are using Hertzbeat with H2 databases.

H2 Database is not meant to be used in production environments and has dangerous functionality that allows users to run scripts that can run raw Java commands - including very dangerous Java commands.

I would suggest that you read https://h2database.com/html/security.html - the really worrying bit is the 'CREATE ALIAS' bit. With CREATE ALIAS support, you let malicious users get full access to the Hertzbeat server and run shell commands.

Can we add a page that tells users that H2 support in Hertzbeat is meant for testing in sandboxed environment and it isn't meant for production?

Is your feature request related to a problem? Please describe

No response

Describe the solution you'd like

No response

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    To do

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions