Password Protect Web Server

Hey everyone,

I'm still working out the kinks of using an Ethernet Shield and Arduino to run a Web Server and I'm wondering...

Can you password protect the web server via software upload to the Arduino?

What would this code look like / entail? I'm not really sure how to go about doing it, but what I want to use the web server for I'd prefer that not anyone just be able to access it.

Thanks!
-Poker

You most probably can implement basic http authentication: