Using Http Basicauth At The Server Level To Fascilitate Login

Hey all,

I was looking through the list of extensions for something that would help me figure out if I can require HTTP basic authentication on the Apache layer and then use those results to automatically log users into my website. I am currently running the site on https with self-signed x509 certificates for extra security and am liking the idea that if the user doesn’t have the certificate they get stopped at the Apache layer. I would like to do the same thing with the user’s login and while I know that you can do that at the Apache layer by configuring it against a passwrd file, I am not sure how I would translate that into logging them into the Yii app afterwards.

Any help would be appreciated as I have done several searches (both here and on Google) and am not finding a lot in the way of tips or instructions.

~ kvorak