title: Prevent a user from going to any other URL
body: <p>I am presently working on a <strong>Raspberry Pi 2</strong> running <strong>Raspbian Jessie</strong> membership registration kiosk our tech work-space. I have worked out most of the issues such as closing the browser, right-clicking, keyboard shortcuts, and secure login for admins.</p>
  
  <p>The problem I've run into is that the website, that is not under my control, has links to outside websites that I don't want our users going to check the present URL make sure that it is the one approved URL and redirect if it isn't. I've researched doing this with <strong>software</strong> such as <strong>Privoxy</strong> and <strong>squid</strong> and also <strong>Python</strong> but so far haven't found anything that works. I am very new to <strong>Python</strong> though it seems the most likely solution, <strong>Privoxy</strong> just doesn't work, and it seems <strong>Squid</strong> really wasn't meant for what I'm trying to do.</p>
  
  <p>The overall goal is to ensure a good, consistent interaction between the users and the kiosk so that we're not having to constantly reset the device and field questions like, "why doesn't it work?"</p>
  
  <p>I'll keep searching and post anything that I find but thanks for your help.</p>