Arduino ethernet sheild web login code request?

does someone has this code?
if you have it please send me??
here the video:

You can do it the HTTP way:

Look for the request header:

Authorization: Basic

If you don't get that, send a reply with this header:

WWW-Authenticate: Basic realm="Arduino"

This should cause the browser to pop up a dialog box that asks for username and password.

If you want to check the username and password you'll have to do a base64 decode on the string of characters in the Authorization header. The decode will be USERNAME:PASSWORD.

If the username or password are incorrect you should send a 401 Unauthorized error page.

Its an old post i know!
Johnwasser i think means this Arduino server - http authentication - sd card - YouTube
i wonder if there is any example of it ?