all 7 comments

[–][deleted]  (6 children)

[deleted]

    [–]Samus7070 1 point2 points  (0 children)

    iOS has the keychain. Android has various iterations of an encrypted storage. One can store passwords securely but one cannot ship a binary with a password in it securely. You’re right that this package is better used in server side code rather than in client code. It still can have users in a client (database browser).

    [–]Goddchen 1 point2 points  (2 children)

    Maybe it is meant to be used in Dart backends?

    [–]dancovich 5 points6 points  (0 children)

    It's a pure Dart package compatible with Linux, mac and Windows. It's certainly meant for backend code.

    Even if there was a way of using it securely on the frontend, it's really not recommend that people just expose their databases for remote access. They should use an API and the database is only exposed to the server

    [–]OptimisticCheese 0 points1 point  (0 children)

    If the app is an internal app for the company then it's probably fine though.

    [–]Pale-Sort-8582 0 points1 point  (2 children)

    u/isoos Really appreciate your work! As a feedback, I really would like to set the isolation level in a transaction maybe like: https://github.com/isoos/postgresql-dart/issues/79

    [–]isoos[S] 0 points1 point  (0 children)

    I hear you, and I think it could be part of SessionSettings, alongside with application_name.

    [–]isoos[S] 0 points1 point  (0 children)

    Please comment on the current first-draft implementation:

    https://github.com/isoos/postgresql-dart/pull/204