It depends. Are you needing to change who it connects as? Are you needing RPC?
My advice, try it out. Make the linked server and see if it works for you. Then check if it works for someone with less permissions than you do. If it works for you and them, pick a few more test users to try it out and fix any issues that come up.
I'd also find a user who shouldn't have permissions and see if they cannot access it. Basically, make it and make sure it is set up how you expect.
The above is all just my opinion on what you should do.
As with all advice you find on a random internet forum - you shouldn't blindly follow it. Always test on a test server to see if there is negative side effects before making changes to live!
I recommend you NEVER run "random code" you found online on any system you care about UNLESS you understand and can verify the code OR you don't care if the code trashes your system.