by Rick Jerz.
"I understand that can make the Moodledata folder accessible to a hacker. Is this true? "
To answer this question, yes, if you make a mistake with your installation, you can make your moodledata directory accessible to a hacker.