Skip to content

Disable remote database creation by default#1726

Merged
katzyn merged 22 commits into
h2database:masterfrom
katzyn:ifNotExists
Feb 7, 2019
Merged

Disable remote database creation by default#1726
katzyn merged 22 commits into
h2database:masterfrom
katzyn:ifNotExists

Conversation

@katzyn

@katzyn katzyn commented Feb 7, 2019

Copy link
Copy Markdown
Contributor

Based on #1580 from @grandinj.

@katzyn

katzyn commented Feb 7, 2019

Copy link
Copy Markdown
Contributor Author

Why Preferences and Tools on top of H2 Console are available for everyone? There is an adminLogin.jsp, but it is not used anywhere.

@grandinj

grandinj commented Feb 7, 2019

Copy link
Copy Markdown
Contributor

Why Preferences and Tools on top of H2 Console are available for everyone? There is an adminLogin.jsp, but it is not used anywhere.

I've never even noticed those before. git doesn't show anything interesting, so no idea

@katzyn

katzyn commented Feb 7, 2019

Copy link
Copy Markdown
Contributor Author

Settings and tools now require authentication, I used old adminLogin.jsp file and added all missing parts. Password can be specified in configuration file or in startup parameters. Clear text passwords and hashes with salt are supported, but there is no GUI for them.

When preferences of H2 Console are saved passwords are always stored as hash with salt.

Documentation contains brief mention of parameter with password.

In fresh installation there is no password, so settings and tools are not accessible.

H2 Console definitely needs more attention.

@katzyn katzyn merged commit e329948 into h2database:master Feb 7, 2019
@katzyn katzyn deleted the ifNotExists branch February 7, 2019 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants