On Monday, May 13, 2019 at 6:50:40 PM UTC-7, Suhas Jadhav wrote: > > Hi Gurus, > In my web2py application, i am connecting to two different databases. > Currently, I am saving username and password in the code. > I want to use a password file or some other mean. Can you please help. >
If you're using private/appconfig.ini, you can put the passwords in the URI. private/appconfig.ini should not be checked into source control, nor sent unsanitized to customers. (The one "out of the box" with web2py should be considered a template;, which is okay check in or distribute. The real appconfig.ini should only be backed up in a secure place. The database credentials are a big reason for this, but appconfig.ini is entirely instance specific.) /dps -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/42dcf7e3-2ee9-4c32-acbc-3d242bf6d3a0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

