Share OneDrive files with your class, then check who can still open them
Add pupils by name or keep the link on Only people added, give Can view, and remove access in the Share box once the work is handed in.

Underlined words are defined in the KBY Lexicon. Tap or click one to see what it means.
Files in OneDrive stay private until you share them. The choices you make in the Share box decide which pupils can open a file, and what they can do with it.
Every step here uses OneDrive on the web with an ordinary school staff account, as Microsoft's help pages read on 25 November 2026. Your school's settings may limit which options you see, such as a link that works for anyone. If a choice is missing, use one of the others rather than looking for a way round it.
Who a OneDrive link reaches
A link can travel further than the pupils you sent it to, so it is the first thing to check. Every file or folder has one main link, known as the hero link. Copy link copies it, and its settings sit under File link settings in the Share box.
The hero link works for one of three audiences:
- Only people added: it opens only for people who already have access, for example through a direct share, a group or the folder.
- People in your organisation, shown with your school's name: anyone in the organisation can open it, including someone it was forwarded to.
- Anyone: anyone who receives it can open it without signing in, including people outside the school and anyone they forward it to.
A new hero link usually starts at Only people added. Even so, the default can depend on your school's setup and on the folder the file sits in. That is why the audience is worth reading each time you share, not only the first time.
To change who the hero link works for
- Select the file or folder.
- Select Share at the top of the page.
- Under File link settings, select Change, or the audience text if it already reads your school's name or Anyone.
- Choose the audience.
- Choose what people can do through the link.
- Select Copy link.
Following along on your device? Tap a step’s number to tick it off.
Changing these settings does not create a new link. So if you narrow who a link works for, the change also reaches people who already have it. One detail matters for classes. When you send an organisation link to a Microsoft 365 or security group, each member must open it before they get access.
For a resource pupils need only until a deadline, a supported extra link can carry an expiry date, after which it stops working. Extra links can also ask for a password, which you then send separately. Both kinds appear under Other links, because expiry dates and passwords do not apply to the hero link.
If you are not sure how your school has set this up, you can forward this to your IT team:
Could you tell me which OneDrive link options staff can use, and whether pupils' accounts count as people in our organisation?
Adding a class by name
Sharing by name avoids the forwarding question, because only the people you add get access. You can add pupils one at a time, or a group if your school has set one up for your class.
To share with named pupils or a group
- Sign in to OneDrive with your school account.
- Select the circle next to the file or folder.
- Select Share at the top of the page.
- In Add people, type the pupils' names or the group's name.
- Choose what they can do.
- Turn Send email notification on or off.
- Select Share.
The pupils have access as soon as you select Share, whether or not they get the email. That means you can add a class quietly and post the file where they usually find their work. OneDrive for work or school shares one file or folder at a time, so put several resources in one folder and share that.

View, edit or no download
Once you know who will open the file, decide what they can do with it. These are the permissions you can choose from, though Can review appears only for supported files:
- Can viewthey can open and download it, but not change it.
- Can editthey can change it, and in a shared folder copy, move, rename, share and delete the items they can reach.
- Can reviewthey can add comments and suggestions, in supported files such as Word documents.
- Can't downloadthey can view it without saving a local copy.
Can view suits a worksheet or a model answer. It still lets pupils keep their own copy, though, so Can't download fits a mock paper you plan to reuse. When you first open a link to your organisation or to anyone, Can view is the permission it starts with.
Edit rights on a folder need more thought. When you share a folder with edit permission, people can add it to their own OneDrive and see everything inside it. If pupils should see only some of the files, move those into a separate folder first and share that one.
Tip
As the owner, you can stop editors sharing a file or changing its link settings. They can still work on it, but must ask you to give anyone else access. The control is one of the advanced options in the Share box.
Reading the access list
Once the work is handed in, check who can still open what you shared. In OneDrive on the web, select Shared in the left pane, then the By me tab, to list the items you have shared.
To check one item, select it and select Share. The access list shows:
- the people and groups with direct access, and what each can do, with an External badge on anyone outside your organisation;
- File link settings, meaning who the hero link works for and what it allows;
- Other links, including extra links and links passed down from a parent folder;
- Link usage, meaning who has used the links.
You can search the list, or filter it by person or by permission. One rule explains most surprises in what it shows. A person keeps the highest permission they have from any route: directly, a group, the folder or a link. So a pupil whose row shows Can view can still edit if the hero link gives them Can edit. A warning then appears beside their permission, and lowering it brings up a prompt explaining why.
Taking access back
When the list shows more access than the work now needs, remove it from the same Share box. Each kind of access has its own control:
Swipe the table sideways to see every column →
| To do this | In the Share box |
|---|---|
| Change what one person or group can do | Open the permission menu next to their name |
| Remove a person or group | Select X next to their name |
| Remove an extra link | Under Other links, select X, then confirm Remove link |
| Stop the hero link giving access | Under File link settings, select the audience text, then Only people added |
Removing one person or one link leaves any access they have from elsewhere. Work through every route the access list shows, or the pupil may still be able to open the file.
When nobody but you needs the file any more, one control clears everything at once. It removes direct, group and inherited access, deletes the extra links and sets the hero link back to Only people added. The link's address stays the same, but only the owners can open the item afterwards.
Warning
Remove access shuts out everyone except the owners, colleagues included, and deletes any extra links. Use it after the deadline, not during a lesson. If you remove someone by mistake, give them access again with Add people.
To make a file private to its owners
- Select the file or folder.
- Select Share.
- Select Settings (the gear).
- Select Remove access.
- Review what the confirmation prompt will remove, then confirm.
If a hero link reached somewhere it should not have, an owner can also invalidate it from the advanced options. That creates a new hero link at a new address, and the old one stops working. It does not change access people hold by other routes, so read the access list as well.

Files with pupils' names, marks or photos
The settings above control who can open a file. Whether a file of pupils' personal data should be shared at all is a separate question, and your school's policies answer it. The Department for Education's data protection in schools guidance gives all staff a responsibility to protect personal data. Where staff are unsure, they should follow the school's policies and procedures, or ask their line manager or data protection officer (DPO).
Every maintained school and academy must have a data protection officer. The role includes advising staff about their data obligations and monitoring who in the school has access to personal data. The DPO also advises when a data protection impact assessment (DPIA) is needed.
The school identifies a lawful basis for each kind of processing, under the DfE's guidance on data processing a school is permitted to do. So before you share a mark sheet or a class list, ask your DPO which lawful basis covers it and whether a DPIA is needed. Nothing here is legal advice.
A file that reaches the wrong people can also be a data breach. The DfE's guidance on managing breaches of data counts personal data "accessed by someone without permission" as one, whether deliberate or accidental.
Staff should be able to recognise a breach and report it formally within the school, with the DPO supporting them. In limiting the impact, the stated priority is to establish what has happened to the data: where it now is, and who might have it.
Common questions
- Why can't I choose Anyone when I share from OneDrive?
- Your school's settings may limit which link options you see, and Anyone is one that can be restricted. Share with the pupils by name, or with a link for people in your organisation, instead.
- If I change a pupil to Can view, can they still edit?
- Yes, if another route still gives them edit access, such as the hero link or the folder the file sits in. A person keeps the highest permission they have from any route, so check File link settings and Other links in the Share box too.
- Does Can view stop pupils downloading a file?
- No. Can view lets people view and download a file without changing it. Can't download lets them view it without saving a local copy.
Sources
Every requirement, licence detail and figure in this guide comes from these pages, read on 25 November 2026. Guidance, licences and products change: check the source before you rely on one.
- Share files and folders in Microsoft OneDrive (Microsoft Support)
- Manage sharing and permissions in OneDrive and SharePoint (Microsoft Support)
- See who a file is shared with in OneDrive or SharePoint (Microsoft Support)
- Data protection in schools (Department for Education)
- Data protection in schools: role of data protection officers (Department for Education)
- Data protection in schools: data processing a school is permitted to do (Department for Education)
- Data protection in schools: managing breaches of data (Department for Education)
Spotted something wrong or out of date? Tell us and we will correct it.
About this page
Credited to
Dates
Published
Corrections
No corrections are listed for this page. Some review sweeps corrected pages without naming each one; those are in the corrections log.
Keep reading
More education guides
All education guides
Data protectionKeeping pupil data safe on your school laptop, and what to do the moment it goes missing
23 Nov 2026 9 min
Classroom technology and AIMake a self-marking quiz in Google Forms, from the answer key to the results
25 Nov 2026 8 min
Recommended reading
Was this useful?
Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.
