Enabling Copy / Paste Prevention
Copy and Paste Prevention stops students from copying and pasting in the Code Editor
Kayla Pica avatar
Written by Kayla Pica
Updated this week
Image of pro banner

CodeHS Pro allows teachers to prevent students from copying and pasting in the Code Editor.  When Copy/Paste Prevention is enabled, students enrolled in that section can no longer Copy, Paste, or Cut to and from the Editor. 

Copy/Paste Prevention can be enabled for an entire section, per student, or for a single assignment. It can also be applied to students' Sandbox.

Jump to a section:

Configure For a Section

  1. Navigate to your section

  2. Click Course Settings > Copy/Paste Prevention

  3. Toggle settings for each module, lesson, or assignment. Select the top toggle to turn on Copy / Paste Prevention for the entire course.

gif shows accessing copy/paste settings page from drop down nav bar

Configure For an Individual Student

From Student Settings page:

  1. From your roster page, click on the gear icon next to the student's name

  2. Configure the setting for entire modules, or expand to configure the setting for specific lessons or assignments

gif shows clicking gear icon on roster page to bring up student settings page

Configure For an Assignment

  1. Navigate to your section 

  2. Click on Assignments

  3. Click the Configure (gear) icon next to the assignment you want to configure

  4. Scroll down to enable Copy/Paste Prevention

arrow points to configure gear icon to right of assignment name
arrow points to copy/paste prevention setting on configure menu

Configure for the Sandbox

To configure your Sandbox settings:

  1. Navigate to your section

  2. Click Course Settings > Copy/Paste Prevention

  3. Toggle the button at the top of each Section column to control Copy / Paste in the Sandbox:

Image showing copy paste for sandbox is controlled by top unlabeled row

To allow students to Copy / Paste in the Sandbox, but not in their Course Assignments, make sure the top toggle is switched to No:

Image showing copy paste prevention in assignments but not sandbox

Copy/Paste Prevention is available as part of CodeHS Pro. To get CodeHS Pro for your school, contact our team at hello@codehs.com.

Did this answer your question?