Can we hide share dashboard link

Is there any way we can hide share dashboard for viewer tag if not can we hide sql queries embedded in the view json of the Exported json?

We have given a user view rights to my dashboard but even with view role user can still export the dashboard using the share dashboard link when we go and click on view json it shows it the actual queries run on the system
So is there any way that we can either altogether remove the share dashboard link
Can we hide the sql queries in dashboard using some alias?