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
EXPERT
demandé il y a 7 ans1639 vues
1 réponse
0
Réponse acceptée

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
répondu il y a 7 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions