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
ESPERTO
posta 7 anni fa1639 visualizzazioni
1 Risposta
0
Risposta accettata

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
con risposta 7 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande