dataroot directory access

dataroot directory access

by Richard Austin -
Number of replies: 1

Can anyone tell us how we can set this to allow only admin access. We are not technical people, and your help will be greatly appreciated.

John

Average of ratings: -
In reply to Richard Austin

Re: dataroot directory access

by Lars-Olof Krause -

Hi,

the moodle dataroot should be outside of the htdocs folder or what ever folder your server uses for storing data ment to be available online.

If you don't have access outside the htdocs folder you can prevent direct useracces using an .htaccess file (your server must allow you to use .htaccess-files)

Please read http://docs.moodle.org/en/Creating_Moodle_site_data_directory to learn how to use htaccess-files to secure your data-directory.

If you have any questions feel free to post again.

LOK