I am new to SQL Server replication. I was able to setup transactional replication successfully, but I feel like I am missing some important concepts regarding security and accounts. I have a few basic questions:
1 - Location of Snapshot.
Currently my distribution server and publication is on the same machine so my path is local and I guess it works. Besides distribution server does publisher also need access to "Snapshot" directory? Say what if my distribution server was on a different PC within LAN (I can use UNC) or maybe on a completely different remote location, then how would publisher access the snapshot?
2 - Publisher Security
What is the role of the Snapshot Agent here, what resources does it need access to? is it asking for the access to the physical "SnapShot" directory?
And what about Log Reader Agent, which resource does this user needs access to?
3 - Subscription Security
"Agent Process Account", what is the role of this user? what resources does this user needs access to at subscriber?