Fwd: Autosave in the SQL Editor - Mailing list pgadmin-hackers

From Vinicius Santos
Subject Fwd: Autosave in the SQL Editor
Date
Msg-id CAOTD_5Fc9iRX6CSw6j4S=DyKtOwdVkRjZ7-CW9a4-U-3tC=Otg@mail.gmail.com
Whole thread Raw
In response to Autosave in the SQL Editor  (Vinicius Santos <vinicius.santos.lista@gmail.com>)
List pgadmin-hackers

> MySQL Workbench has a similar feature.
>
> This does pose an exposure to save sensitive information without the user
> knowing. How to solve this?  A complicated development path:  encrypt saved
> document.

We won't go that road for sure. Too complicated, too easy to make it
worse.

I thought of something simpler.
In plain text.
 

>    Of course any of the files the user saves should be privileged
> to that user (not group).  So another method may be just to make sure the
> file's privileges are for the user only.

This is the minimum we can do.

If the file is plain text, anyone can look through the file system.

What we can do is save the user that has lost the query.

So, just to recover the lost files of the current user.

pgadmin-hackers by date:

Previous
From: Vinicius Santos
Date:
Subject: Re: Autosave in the SQL Editor
Next
From: Timon
Date:
Subject: Russian translation