[ARCHIVED] Security/permissions problem: Why does the STUDENT app allow you (test-student) to edit quizzes??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Canvas has two apps for the smartphone, one for teachers and one for students. (You can see what the student sees by clicking the bottom button on the teacher app called "Student View", which automatically opens the student app.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a bug with Student View, not a security hole for real students.
Student View is tricky business because what it is is the Teacher "acting" as a student. All of the requests being made are as the teacher but they include an "as_user_id" param. What can happen is sometimes some views might not be looking at the "as_user_id" param and are only looking at the token for the user making the request.
Which, in some ways, makes this the opposite of a security hole because we are treating the request as a teacher, not a student.
So keep in mind that Student View is very different than logging in as a student. As you pointed out, there are bugs but they are not security holes.
Also, find comfort in the fact that the mobile apps use the public API. The apps in-and-of-themselves are not capable of causing security holes such as this.
Thank you for the bug report, I will follow-up with support and make sure we take a look at it.
Nate
Mobile Engineer
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.