Private files are not accessible to the public or search engines.
The private file option, when enabled selected in a private course object, will restrict users from viewing the file unless they are enrolled in the course and that course object is available to them.