SQL Server Developer Center > SQL Server Forums > SQL Server Replication > how do I configure user access for merge synchronisation?
Ask a questionAsk a question
 

Answerhow do I configure user access for merge synchronisation?

  • Friday, November 06, 2009 4:29 PMjnc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I Have a Replicable database which I (as the creator) can access Ok

    I want to allow other users on the VPN to synchronise with this using SMO, I have a working application and the database is set up for remote connections and mixed mode authentication.

    Do I set the new users up on the database using their normal windows passwords if so what objects, roles should I give them or anything else to provide the most painless and secure access

    Thank you


    jnc

Answers

  • Saturday, November 07, 2009 4:03 PMHilary CotterMVP, AnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    If they use windows accounts they should be in the publc role in the publisher publication database, and in the pal.
    looking for a book on SQL Server replication? http://www.nwsu.com/0974973602.html looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
    • Marked As Answer byjnc Sunday, November 08, 2009 8:53 AM
    •  

All Replies

  • Friday, November 06, 2009 11:36 PMGreg YMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    Yes you can synchronize over VPN, but not sure how you do this via SMO.  Did you mean RMO?  Here's info on publishg data over the internet using VPN.  http://msdn.microsoft.com/en-us/library/ms152569.aspx

    As far as security, you can read more about the replication security mode here: http://msdn.microsoft.com/en-us/library/ms151187.aspx.

  • Saturday, November 07, 2009 10:34 AMjnc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thanks

    I do have a working model I connect OK to my client and the syncro is fine my problem is configuring SQL server to allow users other than myself access
    jnc
  • Saturday, November 07, 2009 4:03 PMHilary CotterMVP, AnswererUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    If they use windows accounts they should be in the publc role in the publisher publication database, and in the pal.
    looking for a book on SQL Server replication? http://www.nwsu.com/0974973602.html looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
    • Marked As Answer byjnc Sunday, November 08, 2009 8:53 AM
    •  
  • Sunday, November 08, 2009 8:54 AMjnc Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Thank you (once more)
    jnc