Showing posts with label security. Show all posts
Showing posts with label security. Show all posts

Monday, March 26, 2012

Replication security help please...

Hello,

I am being told that my SQL server can no longer use a domain account to do replication cause it is a violation of SOX codes... So here is my question to ease my pain....

I believe that I can run the SQL server service under [local system account] with no issues but what about the SQL server agent service?

It needs rights on all the servers right?

I have found where you can configure replication to use sql authentication but then I can use snapshots...

any help would be appriciated...

oh.. I use transactional and merge if that makes any difference.

Hi William,

Replication agents run under the context of a Windows account. The agents make Windows Integrated Security connections by using this account. The account under which the agent runs depends on how the agent is started. If you start the agent from a SQL Server Agent job, the default: When a SQL Server Agent job is used to start a replication agent, the agent runs under the context of an account that you specify when you configure replication.

So SQL server agent service account do not need rights on all the servers, it could be local system account as well.

Hope it helps.

Wanwen

|||

So if I change SQL agent to run as system account but change replication to run as an account that does have access to all servers that have replication, then this should work?

|||

Yes, Please remember to change SQL agent service account through SQL server configuration manager.

Wanwen

replication security

What’s the best way to secure merge replication over the internet? The cl
ient is running MSDE and could be a home user with broadband. If it’s usi
ng a VPN would this be SSL or IPSec?Either would secure the traffic from MSDE to the Publisher.
VPN would allow the client to use other corporate resources as well and
authenticate using Windows
Authentication.
At a minimum put a server certificates on the Publisher and update the
Trusted Root Authority
on the Subscriber (MSDE) and use SSL.
316898 HOW TO: Enable SSL Encryption for SQL Server 2000 with Microsoft
http://support.microsoft.com/?id=316898
276553 HOW TO: Enable SSL Encryption for SQL Server 2000 with Certificate
Server
http://support.microsoft.com/?id=276553
If you have an ISA Server, you could publish the SQL resource as well.
Here's some docs on using ISA.
http://www.microsoft.com/technet/pr...tain/proxy.mspx
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||Thanks Kevin - I left out some important details. Actually, the client side
would be the Publisher (MSDE). We would like to use replication to backup
the database with our application for our customers.
"Kevin McDonnell [MSFT]" wrote:

> Either would secure the traffic from MSDE to the Publisher.
> VPN would allow the client to use other corporate resources as well and
> authenticate using Windows
> Authentication.
> At a minimum put a server certificates on the Publisher and update the
> Trusted Root Authority
> on the Subscriber (MSDE) and use SSL.
> 316898 HOW TO: Enable SSL Encryption for SQL Server 2000 with Microsoft
> http://support.microsoft.com/?id=316898
> 276553 HOW TO: Enable SSL Encryption for SQL Server 2000 with Certificate
> Server
> http://support.microsoft.com/?id=276553
> If you have an ISA Server, you could publish the SQL resource as well.
> Here's some docs on using ISA.
> http://www.microsoft.com/technet/pr...tain/proxy.mspx
> Thanks,
> Kevin McDonnell
> Microsoft Corporation
> This posting is provided AS IS with no warranties, and confers no rights.
>
>|||Thanks Kevin - I left out some important details. Actually, the client side
(MSDE) would be the publisher. We would like to use replication to backup
the databases with our application for our customers.
"Kevin McDonnell [MSFT]" wrote:

> Either would secure the traffic from MSDE to the Publisher.
> VPN would allow the client to use other corporate resources as well and
> authenticate using Windows
> Authentication.
> At a minimum put a server certificates on the Publisher and update the
> Trusted Root Authority
> on the Subscriber (MSDE) and use SSL.
> 316898 HOW TO: Enable SSL Encryption for SQL Server 2000 with Microsoft
> http://support.microsoft.com/?id=316898
> 276553 HOW TO: Enable SSL Encryption for SQL Server 2000 with Certificate
> Server
> http://support.microsoft.com/?id=276553
> If you have an ISA Server, you could publish the SQL resource as well.
> Here's some docs on using ISA.
> http://www.microsoft.com/technet/pr...tain/proxy.mspx
> Thanks,
> Kevin McDonnell
> Microsoft Corporation
> This posting is provided AS IS with no warranties, and confers no rights.
>
>|||OK. Then the MSDE machine (Publisher) would require the server certificate
then.
Also, SQL Replication is not really a backup strategy... Many customers use
Transactional Replication
to provide a warm standby for their Published database, but you should also
have a good backup strategy in place in case there
are hardware failures, that require complete recovery.
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.|||Kevin,
I'm working on a similar situation (trying to implement SSL between 2
MSSQL 2000 boxes for replication).
Is there any way to implement the envryption (SSL) for the connections
used during the replication, other than the "force encryption" options
in the client and/or server network utility?
TIA.
Mike
*** Sent via Developersdex http://www.codecomments.com ***
Don't just participate in USENET...get rewarded for it!|||Hi Mike,
In SQL 2000 we use protocol encryption to enable SSL. If you are using
Default instances of SQL for Replication you can also use the older network
library called MultiProtocol.
164667 INF: Replication Setup Over a Firewall
http://support.microsoft.com/?id=164667
Other options are: IPSec between the two machines or a VPN connection
Thanks,
Kevin McDonnell
Microsoft Corporation
This posting is provided AS IS with no warranties, and confers no rights.

Replication Security

Hi All,
I'm looking at the replication security on one of my servers (admittedly I
haven't used replication that much before), we are running transactional
replication and I wondered what the distributer_admin login does... ...is it
safe to remove the distributer_admin login? - or at least change it to a
windows authenticated login?
Thanks in advance
Ben
Don't touch this account, if you remove it replication will not work. It is
an account which is used to proxy RPC calls between the
Publisher/Distributor/Subscriber.
IIRC, you can remove it after you have created your publications,
subscribers, distributor, but after you remove it you will no longer be able
to configure any more publishers or subscribers.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"BenUK" <BenUK@.discussions.microsoft.com> wrote in message
news:C16AE4CB-6D92-4DCF-98B5-AFD0DBCCC6ED@.microsoft.com...
> Hi All,
> I'm looking at the replication security on one of my servers (admittedly I
> haven't used replication that much before), we are running transactional
> replication and I wondered what the distributer_admin login does... ...is
> it
> safe to remove the distributer_admin login? - or at least change it to a
> windows authenticated login?
> Thanks in advance
> Ben
sql

Replication Security

Hi All,
I'm looking at the replication security on one of my servers (admittedly I
haven't used replication that much before), we are running transactional
replication and I wondered what the distributer_admin login does... ...is it
safe to remove the distributer_admin login? - or at least change it to a
windows authenticated login?
Thanks in advance
BenDon't touch this account, if you remove it replication will not work. It is
an account which is used to proxy RPC calls between the
Publisher/Distributor/Subscriber.
IIRC, you can remove it after you have created your publications,
subscribers, distributor, but after you remove it you will no longer be able
to configure any more publishers or subscribers.
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"BenUK" <BenUK@.discussions.microsoft.com> wrote in message
news:C16AE4CB-6D92-4DCF-98B5-AFD0DBCCC6ED@.microsoft.com...
> Hi All,
> I'm looking at the replication security on one of my servers (admittedly I
> haven't used replication that much before), we are running transactional
> replication and I wondered what the distributer_admin login does... ...is
> it
> safe to remove the distributer_admin login? - or at least change it to a
> windows authenticated login?
> Thanks in advance
> Ben

Replication Security

Hi All,
I'm looking at the replication security on one of my servers (admittedly I
haven't used replication that much before), we are running transactional
replication and I wondered what the distributer_admin login does... ...is it
safe to remove the distributer_admin login? - or at least change it to a
windows authenticated login?
Thanks in advance
BenDon't touch this account, if you remove it replication will not work. It is
an account which is used to proxy RPC calls between the
Publisher/Distributor/Subscriber.
IIRC, you can remove it after you have created your publications,
subscribers, distributor, but after you remove it you will no longer be able
to configure any more publishers or subscribers.
--
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
"BenUK" <BenUK@.discussions.microsoft.com> wrote in message
news:C16AE4CB-6D92-4DCF-98B5-AFD0DBCCC6ED@.microsoft.com...
> Hi All,
> I'm looking at the replication security on one of my servers (admittedly I
> haven't used replication that much before), we are running transactional
> replication and I wondered what the distributer_admin login does... ...is
> it
> safe to remove the distributer_admin login? - or at least change it to a
> windows authenticated login?
> Thanks in advance
> Ben

Monday, March 12, 2012

Replication over Internet

I want to create merge publication between Server A(publisher) and Client
B(subscriber) over Internet. However, because of the security reasons Server
A cannot be directly accessed over Internet. What is the solution for this
case?
If I seperate distrbutor from Server A and enable it to be accessed directly
over Internet and Client B subscribes through distrbutor can this be a
solution?
(VPN is not allowed)
Erkan,
as far as I understand, the merge agent will need connectivity between the
publisher and subscriber to read the MSmerge_contents and MSmerge_tombstone
tables on each box, and the absence of any connectivity will preclude this
from working. However, you could investigate republishing to achieve your
goal.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com
(recommended sql server 2000 replication book:
http://www.nwsu.com/0974973602p.html)