Re: web service for accessing db?
- From: "Andy" <kc2ine@xxxxxxxxx>
- Date: Mon, 29 Oct 2007 22:23:17 -0400
I use integrated authentication.
I agree with everything but what's the point in this case when clients are
inside the network anyway or using vpn?
Plus I have connection string embeded in to code.
"Miha Markic" <miha at rthand com> wrote in message
news:OgHIVUgGIHA.4712@xxxxxxxxxxxxxxxxxxxxxxx
"Andy" <kc2ine@xxxxxxxxx> wrote in message
news:eB%23tLJaGIHA.700@xxxxxxxxxxxxxxxxxxxxxxx
Hi Miha,
thanks for response, so how good actually is security with remoting?
Problem is that have to decide what to use from old win32 application for
accesing SQL Srver 2005.
All client are within the network or accesing network through VPN. I
decided to use regular ADO but some argue that exposing connection string
is not safe. But We're already in the network so what's the point would
be in using web service, I don't see benefits at all.
It doesn't matter whether it is remoting or web services.
The point is (briefly), that if you expose the connection string, a
malicious user can read its content and connect to sql server directly.
So he can do whatever connection string allows him to do, and even worse,
user might exploit some sql server bug, etc.
OTOH if user is accessing through some sort of service, user won't be
seeing sql server at all. User would be allowed to do only what service
allows him to do.
BTW what authentication do you use - sql server or integrated?
--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/
.
- Follow-Ups:
- Re: web service for accessing db?
- From: Miha Markic
- Re: web service for accessing db?
- References:
- web service for accessing db?
- From: Andy
- Re: web service for accessing db?
- From: Miha Markic
- Re: web service for accessing db?
- From: Andy
- Re: web service for accessing db?
- From: Miha Markic
- web service for accessing db?
- Prev by Date: I set my database to trustworthy and deployed this clr stored proc as unsafe ok but when i run this it returns 1 each time. as if ival keeps getting set back to 0 each time i call this clr stored proc. How to fix so that ival keeps its current value each t
- Next by Date: Re: Inconsistent dat paremeter in query
- Previous by thread: Re: web service for accessing db?
- Next by thread: Re: web service for accessing db?
- Index(es):
Relevant Pages
|