The user can only see their own profile

Inside your template you can implement a condition checking if the user is a super admin or if the user has certain capabilities (if you want to target administrators and not only super admins)

First case

if (is_super_admin() ) {
    //your super admin logic here
}else{
    //subscriber logic
}

Second case

if ( current_user_can( 'manage_options' ) ) {
    //your admin logic here
} else {
    //subscriber logic
}

http://codex.wordpress.org/Function_Reference/is_super_admin

http://codex.wordpress.org/Function_Reference/current_user_can

Also here you can use this function to check user roles

http://docs.appthemes.com/tutorials/wordpress-check-user-role-function/

UPDATE

An update according to op question

if(is_user_logged_in()){
    if ( current_user_can( 'manage_options' ) ) {
        //your admin logic here
    } else {
        $current_user = wp_get_current_user();
        $curauth = (get_query_var('author_name')) ? get_user_by('slug', get_query_var('author_name')) : get_userdata(get_query_var('author'));

        if($current_user->user_login == $curauth->user_login){
          // User is the same as author, show the panel
        }else{
          //different user and author, access forbidden.
        }
    }
}else{
    echo 'Access forbidden';
}