Aurora Row level and column level security

0

A customer is currently using MySQL and are using a view with a WHERE clause to prevent certain users from seeing rows.

Do we have anything within Aurora that provides row and column security, or would views still be needed for this?

AWS
EXPERTE
gefragt vor 7 Jahren1639 Aufrufe
1 Antwort
0
Akzeptierte Antwort

You can restrict column level access to users in Aurora and MySQL using below statement. But there is so easy option to restrict row level access other can using views.

GRANT SELECT(ChannelId, VideoId) on RealEstate TO user1; <== grants access only on columns ChannelId and VideoId

Reference: http://dev.mysql.com/doc/refman/5.6/en/grant.html#grant-column-privileges

AWS
beantwortet vor 7 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen