On 06/01/2007 10:53 AM, Alma wrote:
Hi All,

I have to store the authentication details like the user_id & password
in a file .

I do not want to include hard code in my file so basically what i am
trying is i wanted to authenticate the user who logged in by reading a
file which contains the user_id & pwd & then if valid , let him call
the subroutines defined  else provide him with error message..

I am using postgres db & apache2.. , my search has landed me to
mod_auth_pgsql.
[...]

No, mod_auth_pgsql does authentication from within Apache, but you seem to need to do authentication from within your program and independently of Apache.

I'd suggest that you create a database table that contains usernames and passwords for your users. Then you should use standard postgres database access (DBI) to fetch that data.



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to