> On 14 Dec 2015, at 04:40, kk <[email protected]> wrote: > > Hello all, > I am going to use Postgresql in my Pyramid REST ap[app. > I wish to know what is the most ideal way of securing my database?
there is nothing pyramid specific in securing your database connection. > What I wish to know is which is the best way to connect? > should it be trusted or md5? > Unix Domain Socket or tcp? that depends entirely on your specific setup., there is no single best practice. i for example keep my postgres databases in a separate freebsd jail with a private network and firewall and therefore have to luxury to forego any further authentication restrictions on the application layer, because my deployment setup already takes care of that. > Kindly explain the entire steps that I should take. i don’t mean to be snarky, but may i humbly suggest one of your first steps to include reading the relevant documentation? http://www.postgresql.org/docs/9.4/static/auth-methods.html > Happy hacking. > Krishnakant. > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: Message signed with OpenPGP using GPGMail
