Make master key unreadable to others (bug #410)
This commit is contained in:
parent
06a2d87e55
commit
b87d43fdcd
|
@ -1065,6 +1065,7 @@ function password_file($create) {
|
||||||
if ($return || !$create) {
|
if ($return || !$create) {
|
||||||
return $return;
|
return $return;
|
||||||
}
|
}
|
||||||
|
umask(066);
|
||||||
$fp = @fopen($filename, "w"); // @ - can have insufficient rights //! is not atomic
|
$fp = @fopen($filename, "w"); // @ - can have insufficient rights //! is not atomic
|
||||||
if ($fp) {
|
if ($fp) {
|
||||||
$return = rand_string();
|
$return = rand_string();
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
Adminer 4.1.1-dev:
|
Adminer 4.1.1-dev:
|
||||||
Fix reading routine column collations
|
Fix reading routine column collations
|
||||||
Unlock session in alter database
|
Unlock session in alter database
|
||||||
|
Make master key unreadable to others (bug #410)
|
||||||
MySQL: Use utf8mb4 if available
|
MySQL: Use utf8mb4 if available
|
||||||
|
|
||||||
Adminer 4.1.0 (released 2014-04-18)
|
Adminer 4.1.0 (released 2014-04-18)
|
||||||
|
|
Loading…
Reference in a new issue