Celeb Glow
updates | February 26, 2026

Can I lock a user to one site only in Chrome?

I want to prevent users of my personal Google Chrome browser from navigating away from the defined homepage except for refreshing the page.

More "for science" than anything else - how can I do this without any coding?

3

4 Answers

My solution was to use the host-rules command line switch for Google Chrome. This can be used to force the user to remain on the same domain (and port number, if you like).

For example, if you want to start Chrome in Kiosk mode and disallow the user from navigating away from localhost on port 80:

chromium-browser --kiosk --host-rules="MAP * localhost:80"

Of course, in this case, the user can still navigate to , but they can't go to

Not sure how well this works (I've never tried it), but Chrome seems to have a kiosk mode:

chrome.exe --kiosk [url]

More details on Chrome's Google Code issues page.

Update: Kiosk mode won't prevent navigation to other sites if there are links on the page. The Pentasoft Custom Browser chrome extension allows you to set up a whitelist of domains the browser can access.

2

This is far more difficult than you imagine. For one, what about hyperlinks? Would you allow redirects? What would you consider "one" site? Do you mean domain?

This is far easier in Internet Explorer. Place your one domain in the trusted domains. Everything else under restricted. . .

If it is a homepage you control, just shut off the Internet and allow only network connections to your controlled webserver.

1

If you're technically savvy and using a version of Windows that supports the Group Policy Editor, you can download and install Google's Chrome GPO template from here. It has white-listing, blacklisting and many more Chrome lockdown capabilities. Another solution is to use 3rd party software. The most robust but simple solution we've worked with for Chrome is Secure Lockdown for Chrome

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy