Hi @ACDBA ,
if we dont have linked server names?
If you don't know the server names, I don't think it is possible to make the connection.
You can check the linked server you had made connection in this place:
If you are worried about privacy, you can try the following solution:
Create an account in A that can only select view _ A. Then use the account A in B to establish the connection of the linked server.(At the same time, select the account of the manufacturer in the security to correspond to the account of A) Then B won't have the right to check some tables in A.
linked server properties---security tab---Created using the current security context of the login
EXEC master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'serverB',@useself=N'False',@locallogin=N'userB',@rmtuser=N'userA',@rmtpassword='########
Is it your demand? If I misunderstand, pls let me know.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment"