Skip to main content
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 over 6 months ago
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.


Configure For a Section

  1. Navigate to the Configure app

  2. Click the Copy/Paste Settings tool

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

Configure For an Individual Student

From the Roster app:

  1. From your Roster app, 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 in roster app to bring up student settings page

Configure For an Assignment

  1. Navigate to the Assignments app

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

  3. 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 the Configure app

  2. Click the Copy/Paste Settings tool

  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?