Share link permission

It would be nice to have an option to rescrict a share link only for specific users? In other words, to force user to enter his credentials in order to see a (shared) folder.