Permission is not the same as availability
Something being freely readable says nothing about whether you may reuse it. The permission lives in the licence, and confusing the two is the most common mistake in otherwise careful scholarly work.
The licence families
CC0 places a work in the public domain as far as copyright allows; use it without conditions.
CC BY permits any use, including commercial ones and adaptation, provided you credit the source and indicate whether you made changes. This is the default most useful choice for teaching material and for derivative works.
CC BY-SA adds the requirement that adaptations carry the same licence onward — the share-alike term that keeps a commons open.
CC BY-NC forbids commercial use. Be careful here: "non-commercial" is often interpreted generously, and a course pack sold by a company, or a dataset used in a commercial product, can breach it.
CC BY-ND forbids distributing modified versions, which rules out most translations and most remixes. It surprises people who assume any adaptation is fair use.
CC BY-NC-SA and CC BY-NC-ND combine the restrictions, and are the least flexible options for teaching.
Anything marked "All rights reserved" with a free link is readable but not reusable. Do not put it in a course pack, a dataset, or a translation.
Attribution done properly
A good attribution names the author, the title, the source, the licence, and a link. For a dataset, include the version and a persistent identifier. For an adapted figure, say explicitly what you changed. When you remix, keep the licence of the original visible alongside your own.
Authorship norms
CRediT roles — conceptualization, methodology, investigation, writing, supervision, funding acquisition — describe contributions far more precisely than a single "author" line. When a dataset has many contributors, listing roles makes credit precise and makes the work citable in a way that a name list cannot.
Funder and publisher policies usually require a contributor statement for grant-funded work, and reporting one is not optional where it is requested.
Ethics of data reuse
Check the consent and governance of the original data, not only the licence. A dataset released without consent for reuse, or one containing personal data without a lawful basis, can be unusable in your context even though it is technically open. Prefer datasets deposited in repositories that record governance metadata, and prefer those with explicit ethics approval identifiers.
Practical rules
Record the licence and the version at the moment you use a resource, not later; licences do change and versions do move. Cite data with a persistent identifier so the citation resolves to a specific state. And when the status is genuinely unclear, write to the repository or the author — that correspondence usually produces a clear answer within a day.