Hi everyone, I'm new to progress and I'm trying to 'open up' our Progress environment with the use of the SQL Broker that enables any ODBC/JDBC clients to query the database.
We've install the broker in our developmenent environnment and everything seems to be working as expected (I got Squirrel--an SQL Client-- to connect, I've also manage to have Pentaho--a ETL engin-- do the same).
At this point, I've kind of understood that the security is sort of 'open by default'. Is there an easy way to have/setup a userId with read only permission on the whole database (for export/reporting purpose example).
Any thoughts/concerns/best pratices about the use of the SQL broker?
Thanks
1) Create a DBA user and grant dba permissions with the following command
CREATE USER ‘dbauser’,’dbauser_passwd’;
GRANT dba,resource TO 'dbauser'; è This user becomes the DBA
2) Connect using DBA user and Create a regular user
· CREATE USER ‘ro_user’,’ro_user_passwd’;
· Now grant the SELECT permissions on tables to ‘ro_user’
Hi everyone, I'm new to progress and I'm trying to 'open up' our Progress environment with the use of the SQL Broker that enables any ODBC/JDBC clients to query the database.
We've install the broker in our developmenent environnment and everything seems to be working as expected (I got Squirrel--an SQL Client-- to connect, I've also manage to have Pentaho--a ETL engin-- do the same).
At this point, I've kind of understood that the security is sort of 'open by default'. Is there an easy way to have/setup a userId with read only permission on the whole database (for export/reporting purpose example).
Any thoughts/concerns/best pratices about the use of the SQL broker?
Thanks
Flag this post as spam/abuse.
Hi,
It's very easily generate a SQL script to GRANT all privileges on all the database tables using 4GL.
Details can be found in the knowledge base:
KB S000022114 - How to generate SQL script to GRANT all privileges on all the database tables using 4GL?
Don't forget to change the GRANT ALL statement, otherwise you end up with an user having too much privileges.
Hope this helps.
Kind regards,
Frank
Olivier Quirion Chef De service programmation et analyse/programming and analysis Service supervisor Siège Social/Head Office 450.787.3411 # 10340 olivier.quirion@bonduelle.com |
Reply by Frank de LaatHi,
It's very easily generate a SQL script to GRANT all privileges on all the database tables using 4GL.
Details can be found in the knowledge base:
KB S000022114 - How to generate SQL script to GRANT all privileges on all the database tables using 4GL?
Don't forget to change the GRANT ALL statement, otherwise you end up with an user having too much privileges.
Hope this helps.
Kind regards,
Frank
Stop receiving emails on this subject.Flag this post as spam/abuse.