Atle Samuelsen wrote:
you can not hide the passwd. What you can do is to set more restrictive access
to your config file (use chmod)
Is it possible to use include a file? and keep the passwords there?
If you have a problem, you would like to share the real code, but with
passwords in it, it is difficulty.
the cfg file does not support an "include" directive - you can use M4 for this
purpose, but guess it will not help in your case, as the generated cfg file will contain
the passwd.
I think the only solution is to set restrictive "read" permission on the file.
What about dropping the password in the config file, and rather put them
directly in the config.h file for *ser ? (or what ever that file is
called ...)
then he wouldBnt need to have the database config in the config file
at all :)
yes, it's about the config.h file
#define DEFAULT_DB_URL "mysql://openser:[EMAIL PROTECTED]/openser"
and
#define DEFAULT_RODB_URL "mysql://openserro:[EMAIL PROTECTED]/openser"
it is a solution, but is not quite flexible as you need to
recompile/reinstall each time you change the passwd :).
regards,
bogdan
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users