CodeHS Pro allows teachers to prevent students from copying and pasting in the code editor.  Preventing copying and pasting can be turned on for an entire section or configured per student. When Copy/Paste Prevention is enabled, students enrolled in the section can no longer Copy, Paste, or Cut to and from the Editor. 

To prevent copying and pasting for your section:

  1. Navigate to your section
  2. Click on Course Settings and choose Copy/Paste Prevention
  3. You can enable copy/paste prevention for an entire module, lesson or activity for all sections using a course, or for a specific course

To prevent copying and pasting for specific students:

From Students Assignment All Settings page:

  1. From your roster page, click on the gear icon next to the student's name
  2. Control the settings for modules, lessons, or even specific assignments
  3. If you would like to view less settings, you can select which settings to edit in the top left menu

From Assignment page:

  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 scroll down to enable Copy/Paste Prevention

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?