Skip to content

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
asked 9 years ago2.5K views
1 Answer
0
Accepted Answer

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
EXPERT
answered 9 years ago
EXPERT
reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.