title: Postgres User Authentication on web app through LoginRoles Vs Table
body: <p>I have a postgres database and a web app. </p>
  
  <p>The web app allows the existance of users and they do some stuff on the webapp.</p>
  
  <p>I am new to postgres but what we used to do in SQL Server was ActiveDirectory - CreateLogins - CreateRoles etc..</p>
  
  <p>Now in this database is it possible to create a login for each user? or is a table with users (username password) better? or worse?</p>
  
  <p>I was thinking about having 1 login user in the database that can only do specific procedures and see views and just authenticate the user through the table.</p>
  
  <p>Which is better solution? </p>