if the installation procedure of phpMyAdmin contained following:
- an option to enforce ssl access (instead of "plain" access)
- this option would then (best) be combined with a virtual host description, since otherwise the protection is not that secure (current configuration of synology puts https- and http- virtual host directories next to each other).
- the user is asked/given the oportunity to customize the target directory of the installation (instead of the highly predictable phpMyAdmin).
The chosen option could even be checked against known targets of attacks (like pmaPWN).
This customization should then also be included into the 3rdparty/phpMyAdmin/desktop.cfg file
In the mean time, I did this for myself:
- First downloaded and installed package phpMyAdmin.
This produces the directory /volume*/web/phpMyAdmin. - logged into console and executed:
- Code: Select all
TARGET=_a_dirname_; #my arbitrary name
cd "/volume*/web/";
mv phpMyAdmin "${TARGET}";
CFG="/usr/syno/synoman/webman/3rdparty/phpMyAdmin/desktop.cfg";
[ -f "${CFG}" ] && sed -i "s#path=.*#path=${TARGET}#;" "${CFG}";


