MDL-15352: check that the user exists on the remote server and that is allowed to access the file he's requesting
MDL-15352: check that the user exists on the remote server and that is allowed to access the file he's requesting

dilawar/moodle