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
ESPECIALISTA
feita há 7 anos1640 visualizações
1 Resposta
0
Resposta aceita

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
respondido há 7 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas