Skip to main content
Filter by
Sorted by
Tagged with
44 votes
3 answers
15k views

I need strict control of the reading and writing of my Postgres data. Updatable views have always provided very good, strict, control of the reading of my data and allows me to add valuable computed ...
Calebmer's user avatar
  • 2,929
16 votes
2 answers
12k views

One of the very important problems in information softwares is the existence of users with different roles with different duties and access levels. For instance, think of an organization with the ...
ali akbar azizkhani's user avatar
11 votes
4 answers
9k views

I've been trying to consider how Row Level Security could be implemented with the Entity Framework. The idea is to have a database agnostic means that would offer methods to restrict the rows coming ...
Rick's user avatar
  • 732
9 votes
3 answers
6k views

I am currently evaluating authentication / authorization frameworks. Apache Shiro seems to be very nice but I am missing row-level security features. E.g. there might be special rows in a database ...
MRalwasser's user avatar
  • 16.1k
3 votes
1 answer
1k views

I'm trying to update a row in a table with row level security policies, but keep getting the error new row violates row-level security policy for table "my_table". Here's how I set up RLS ...
Denis Yakovenko's user avatar
0 votes
1 answer
808 views

I want to enforce Row-Level Security (RLS) for PostgreSQL with Row Security Policies for ALL users including admins and table owners: ALTER ROLE postgres WITH NOBYPASSRLS; -- enforce for the superuser ...
Joost Döbken's user avatar
0 votes
1 answer
980 views

I want to implement column level and row level access control on data stored in my MySQL database. I am using NodeJS on my server, what's the way to go for this ? I see SAP Hana allows that but want ...
Vineet's user avatar
  • 385
7 votes
2 answers
1k views

I want the rows in a table accessible to only members of groups. I create users and add them to group by following method, CREATE USER abc LOGIN PASSWORD 'securedpassword1'; CREATE USER xyz LOGIN ...
khaldi's user avatar
  • 472
6 votes
1 answer
3k views

From the Postgres CREATE POLICY documentation: UPDATE policies accept both a USING expression and a WITH CHECK expression. The USING expression determines which records the UPDATE command will see to ...
Christiaan Westerbeek's user avatar
4 votes
2 answers
3k views

I am using prisma and yoga graphql servers with a postgres DB. I want to implement authorization for my graphql queries. I saw solutions like graphql-shield that solve column level security nicely - ...
brafdlog's user avatar
  • 2,692
2 votes
3 answers
756 views

Let's say we have a table Fruits details, Country Fruit USA Apple India Mango Italy Kiwi Australia Guava We have 3 Roles i.e. region1_role, region2_role and global_role. I want region1_role to have ...
Mohammed Turky's user avatar
2 votes
1 answer
1k views

I am trying to build a system with Postgres in which users can connect with each other by sending requests. I am handling the security logic with RLS. However, I am having some trouble with the ...
Max's user avatar
  • 957
2 votes
2 answers
2k views

We are using SQL Server 2008 and have our permissions setup in Active Directory (AD). Each row in a core table needs to be only viewable by those that have permission to view each row. I can setup ...
Travis Ingram's user avatar
1 vote
3 answers
2k views

I have downloaded App Owns Data from github - https://github.com/Microsoft/PowerBI-Developer-Samples. I have added Row Level Security by adding the following line: generateTokenRequestParameters = ...
Omkar's user avatar
  • 23
1 vote
1 answer
115 views

My timeseries table T has the columns: location, sensor_id, timestamp and value. The table has thousands of sensor_id, billions of values per year and about 100 locations. The 100 locations are in 6 ...
karl 's user avatar
  • 27
1 vote
0 answers
813 views

create table sample_schema.sample_table1 (ID numeric(38) PRIMARY KEY NOT NULL, tenant_id VARCHAR(255) NOT NULL, Description VARCHAR(255) ); create table sample_schema.sample_table2 ...
Aravinda Mundakana's user avatar
0 votes
1 answer
185 views

In this example, the second column should not be visible for a member (role) of the group 'user_group', because this column is only required internally to regulate the row level security. however, ...
Gedankenpolizei's user avatar
0 votes
4 answers
2k views

Background I'm working these days on organizing the Postgres database of a project in my work. EDIT: This database is connected to a NodeJS server that runs Postgraphile on it, in order to expose the ...
Bar Bokovza's user avatar
0 votes
1 answer
194 views

We need to implement row-level security policy for a PostgreSQL View. Is there any option to do this? Thank You
Chinnu Vijayan's user avatar
0 votes
2 answers
868 views

Is there any way to get row-level security in SQL Server 2014? My problem is: I have a table with data for multiple regions I created a view for each region Specific user will have access to specific ...
vignesh's user avatar
  • 1,496