View Full Version : Login to secured directory with facebook

08-08-2012, 01:49 PM

I have a website that I'm working on that has a secured password protected folder (.htaccess). I'm looking for a way to allow viewers to log into this folder (which contains downloads and other 'members only' features) using facebook login info.

I've seen several FB connect scripts but they don't provide a solution for the 'secured folder'. They merely log you into the site, show your profile pic, and that's it.

I've been searching this for a while now so any help would be greatly appreciated.

Thanks in advance.

08-09-2012, 11:56 AM
No doubt this is some how possible, but it seems like a very obscure and difficult way to authenticate users.

You'd be better off authenticating users using PHP utilising the PHP SDK for Facebook connect. Is there a particular reason that puts you off this?