I'm not asking any direct TCL Questions. I'm not so far yet. It's just a question about possibilities and maybe script wich are allready wandering around somewhere in the net.
I have a Webcommunity, with Users stored in a mysql db. Encrypted Password etc.
Now I have a IRC Chat too and want to protect it.
So now i'm looking for possibilites to authenticate them with the same user/passwd combination.
I see two ways:
a) Use a mysql module to compare the user and passwd entry in the database
b) Use a passwd file. I could add a user to this file when the user registers.
Now the main questions, are there any simple tcl scripts avaiabale? (i searched the forum and the scriptsides i know but didn't found something)
If not, what's the best way to start? (I have no real knowledge of tcl)
With "protect" i mean that i don't want users in there that are not members of the community.
(Ok, simplest thing would be to use a phpchat or something like that, but we have a lot of users who want to join from mobile devices and so irc is preferable)
We have all the users in a mysqlDB (that would be the "best" thing) but my knowledge of tcl is not allready good enough to handle this. So i thought of useing something like PAM Auth.
you either set a channel key and let only your registered webusers to know it (but the key may of course leak to others) or you make the channel invite-only and set up a bot which would invite your registered webusers upon identifying