If the software is required on both ends to access the shared content, granting access will be governed by the mechanisms of that particular software, but will usually require some sort of user authentication as well.
In cases where software is needed at both endpoints to access shared material, access authorization will be governed by the particular software's rules, usually requiring a user authentication process.