I am new to database managment, and I am wondering if it is a good idea to create temporary users to restrict access to only a single table.
Like having an user named _logs can only (read?) and insert to the logs table.
I am unescaping the values and I am using environments vars, but I think it would be more secure, but is it possible and a good practise?
I am using Node.JS and Postgres if it matters.