Skip to main content

Whitelist Settings

Learn how to moderate student access to external sites with the Whitelist Enforcement district setting and the Whitelist Settings page

Written by Billy Gotsch
banner: this is a pro feature

Whitelist Enforcement blocks all external requests in student programs by default.

Whitelist Settings gives teachers control over what external content students can access or embed while working on programs in CodeHS β€” and are a key tool for meeting your CIPA obligations (CodeHS CIPA Compliance Statement).

⚠️ CodeHS.io must be enabled for your district to enable Whitelist Enforcement and Whitelist Settings. Learn more about the CodeHS.io domain and how to activate this setting for your district here: Launching the New CodeHS.io Domain for HTML Assignments & Sandbox Programs πŸ“–

Whitelist Enforcement

πŸ’‘Whitelist Enforcement is available on Pro and District licenses. If you are not sure which plan your district is on, please reach out to your CodeHS Account Manager for more information.

Whitelisting Opposed to Blocking

CodeHS blocks known proxy and game sites by default, but no blocklist is ever fully exhaustive and new workarounds appear constantly. Whitelist enforcement gives your district a more airtight layer of control: rather than trying to anticipate every site to block, teachers have the option to define exactly what's allowed.

Teachers can manage their own approved domain lists for their Courses and Sections, putting the responsibility for appropriate access in the hands of the people who know their curriculum. Your district retains the ability to enforce whitelisting across the board, and these settings will not override your network configuration.

How Whitelist Enforcement Works

When your district enables Whitelist Enforcement on CodeHS, all external requests made from student programs are blocked by default. Teachers can then add approved domains at the course or section level so students can still access legitimate resources without opening up the broader web.

Setting Up District-Level Whitelist Enforcement

Your district can enable this setting to force a whitelist mode across all teachers and Sections district-wide β€” teachers cannot turn it off. This setting ensures your CIPA controls are consistent regardless of individual teacher settings.

πŸ’‘ Contact your Account Manager or email accounts@codehs.com to turn this setting on for your district.

Whitelist Settings

Whitelists can be applied at two levels in the Whitelist Settings:

  • Course-level β€” applies to all Sections using the Course

  • Section-level β€” applies only to a specific Section

Course-level and Section-level whitelists compound into a single list. A domain approved at the Course level is automatically permitted across all its Sections, and teachers can add domains to specific Sections on top of the Course list.

Applying a Whitelist

  1. Navigate to the Whitelist Settings page in your Moderation app

  2. Select a Course or Section from the dropdown menus

  3. Enable the "Enforce whitelist on course/section" option, and submit the domains you want to allow

gif displaying how to navigate to the Moderation app in the Grading category in the leftand nav, using the course and section dropdowns, and entering the URLs to be whitelisted


Whitelist Settings are available as part of CodeHS Pro. To get CodeHS Pro for your school, contact our team at sales@codehs.com.

Still have questions? Contact our team at support@codehs.com to learn more!

Did this answer your question?