Guide · Updated
How to limit an online exam to your own students
Short answer
To make sure only your students can take an online exam in MegaExams, open the exam page, find the Who can take this exam card, click Limit to email addresses, paste your students' emails (or a whole school domain such as @yourschool.edu) and click Add and switch on. Anyone not on the list sees "This exam is for invited students only". For a lighter check, make the exam Invite only so students need the link and a 6-character access code.
A shared exam link can travel fast: forwarded to another class, posted in a group, or opened by someone who is not your student. MegaExams has three levels of control. Pick the one that fits the exam, from a quick class quiz to a graded test where every result must belong to a known student.
Step by step: restrict who can take the exam
-
Step 1: Pick the level of control
Access code: students need the link and a code. Quick, but a code can be shared. Email list: only the addresses you add can take it. Best when you know every student's email. School domain: anyone with an address at your school, for example @yourschool.edu, after they confirm it with a sign-in code. Best when the whole school uses school email.
-
Step 2: Set Who can take this exam
When you create the exam, under Who can take this exam, choose Invite only (students need the access code), Anyone with the link (no code needed) or Public (listed for students). With Invite only, a 6-character access code is created when you publish. The exam page shows the code, and its Copy link, WhatsApp and Email buttons include it. You can change this later in the exam settings.
-
Step 3: Open the email list
On the exam page, find the card Who can take this exam and click Limit to email addresses.
-
Step 4: Add your students' email addresses
Under Paste email addresses, paste them one per line or separated by commas. Copying a column from a spreadsheet works too, or use Or upload a CSV: any column with email addresses is picked up and other columns are ignored. Capital letters and extra spaces do not matter.
-
Step 5: Or add your whole school domain
To let in everyone at your school, add the domain on its own line, like @yourschool.edu. Because anyone could type such an address, these students confirm it with a sign-in code emailed to them before they start. Public addresses such as @gmail.com cannot be added as a domain, because that would let in anybody.
-
Step 6: Switch the list on
Click Add and switch on. If you only want to prepare the list, click Add only and use Switch on later. The card on the exam page then shows "On" and how many entries are on the list.
-
Step 7: Test it with an address that is not on the list
Teachers in your own workspace are let through so you can preview the exam. To see what a stranger sees, open the link in a private browser window and enter an email that is not on the list.
What a student who is not on the list sees
The student sees This exam is for invited students only, with their email and the line that it "is not on the list of email addresses allowed to take it". They are asked to use the email they were invited with, or to contact the organiser. A button lets them try a different email, so a student who typed a personal address by mistake can fix it without help.
The list is checked when a student opens the exam, starts, answers and submits, not only at the door.
Combining the options
- Email list plus access code. If the exam is Invite only, students on the list still need the access code. Use both for high-stakes tests.
- One attempt each. Set Max attempts per student to 1 so nobody retakes the test.
- A fixed window. Use Opens and Closes under Schedule so the link only works during the exam.
- Extra details. Under Ask students before they start, add a roll number or class so every result is easy to match to a student.
For more ways to keep an exam fair, see how to prevent cheating in online exams.
When students do not have email
An email list needs an email from every student. For younger students, or students who would rather not share one, the setting Students only type their name (no email) lets them start with just a name. Their result shows on their own device at the end, and attempt limits only hold within one browser. It cannot be combined with an email list: invite-only exams always ask for an email. In that case, an access code and a short exam window are the practical controls.
Try it on your next exam
Free for teachers, schools and institutes. Sign up with your email and a 6-digit code: no credit card, no trial period, no limit on students.
Create a free accountFrequently asked questions
How do I make sure only my students can take my online test?
Limit the exam to a list of your students' email addresses from the Who can take this exam card on the exam page. Anyone else who opens the link sees that the exam is for invited students only.
Do students on the list need an account?
No. Students on the list can take the exam whether or not they have signed up before. They enter their email on the exam page.
Can I allow my whole school without typing every email?
Yes. Add your school's email domain, such as @yourschool.edu, on its own line. Students with an address at that domain confirm it with a sign-in code and can then take the exam.
Why can I not add @gmail.com as a domain?
Public email providers such as Gmail, Yahoo and Outlook are refused as domain entries, because anyone can create an address there. Add those students one address at a time instead.
Is an access code enough?
For class quizzes, usually yes. A code can be shared along with the link, though, so for graded tests use an email list, and keep the code too if you want both checks.
More guides for teachers
- How to conduct an online exam for students for free, step by step
- A Google Forms alternative for quizzes with a timer and auto-grading
- How to prevent cheating in online exams: a practical checklist for teachers
- How to make an online test with negative marking
- How to create a mock test series for your coaching institute
- How to give an online exam on mobile phones
- How to import questions from Word, Excel or PDF into an online test
- How to share exam results and scorecards with students and parents
- Students cannot see their exam results? How to release results
- How to give every student a different question paper
- Marked the wrong answer as correct? How to fix the key after students took the test
- How to make an online exam with no time limit, or a timer for each question
- Is the camera on during an online exam? What teachers can see
- How to let students upload handwritten work and rough sheets after an online exam
- How to mark written answers faster with AI suggestions