I am running a small local HTTP server that allows me to manage config files via GET requests. However, this action should require a password, so I came up with the following solution:
Let's say the password is test123.
I hashed the password using SHA-512 and saved it to a .txt-file on my web server. When I want to get the config file main.json, I would send this request:
http://192.168.178.72/config.php?mode=get&file=main&password=test123
Is this a secure way of doing it?