there is no reason why the connections folder should be moved.
the files are php files, the connections information cannot be seen by accessing the php files directly.
the only way for someone to see the connection details is to access the files using FTP, if they can access the files using FTP, it doesn't matter if they are in the site root or not they will be seen either way.