Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

How would you...

Quote Reply
How would you...
Don't laught at me please lol, but how hard would it be to setup a .htaccess file that pulls user names and passwords from the Gossamer Mail database to allow users to log into a member's only area of a website?

Thanks!
Quote Reply
Re: [xNicXciNx] How would you... In reply to
Hi,

You could do it a couple of ways:

1. Easiest: Setup a cron job that runs every hour and dumps username:encrypted password to a password file, and base your .htaccess file off that.

2. Use auth_mysql apache module and authenticate off the users table. This is real-time, but requires messing with Apache.

Cheers,

Alex
--
Gossamer Threads Inc.