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, configured per student, configured for a specific assignment, and configured for the Sandbox.

Jump to a section:

Configure Per Section

  1. Navigate to your section

  2. Hover over Course Settings and choose Copy/Paste Prevention

  3. Use the left column to configure settings for individual modules

  4. Use the right column to configure settings at the section level (this will also configure settings for the Sandbox)

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

Configure Per 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 Per 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 Sandbox

Copy/Paste Prevention in the Sandbox inherits the same settings as the section level settings. On the Copy/Paste Prevention Settings page, you can configure the module settings and section settings separately.

screenshot of the copy/paste

In the above example, the assignments in each module would have Copy/Paste Prevention enabled, while the Sandbox would have it disabled, allowing students to copy and paste in their Sandbox but not their assignments.

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

Did this answer your question?