Re: Windows Authentication and software in a hosted environment.
- From: Sam Davis <SamDavis@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Sep 2006 15:11:02 -0700
Thanks for the response Warren!
The idea would be to use a firewall-to-firewall vpn, so user authentication
wouldn't necessarily happen until connection to the SQL server. What we were
hoping to accomplish is to have an application specific password on top of
the windows password. So that the user would have to authenticate themselves
to gain access to the application even if they are already logged into the
workstation. We also thought that the users application id could just be the
database user name & password however we want to log invalid login attempts
from within the application, as well as being able to load some database
specific information such as location names etc..
"Warren Brunk" wrote:
What type of authentication are you using for the VPN? Windows? or.
something else.
If you are using something like ISA server then the user is passing windows
credentials in order to gain access to the domain. In this case you could
use windows auth on the SQL server.
In my experience with hosted DB solutions almost always SQL auth is used.
I dont see any reason why the client would have any type of server.
You could write as part of your client implementation script a SQL account
Creation. Perhaps make it the same script that creates the db using
something like
CREATE DATABASE Sales_1
ON
( NAME = Sales_dat,
FILENAME = 'c:\program files\microsoft sql
server\mssql\data\saledat.mdf',
SIZE = 10,
MAXSIZE = 50,
FILEGROWTH = 5 )
LOG ON
( NAME = 'Sales_log',
FILENAME = 'c:\program files\microsoft sql
server\mssql\data\salelog.ldf',
SIZE = 5MB,
MAXSIZE = 25MB,
FILEGROWTH = 5MB )
USE sales
GO
sp_addlogin @loginame = 'Sales_1', @password = 'password', defdb = 'sales_1'
GO
USE sales
GO
sp_grantdbaccess 'Sales_1'
GO
--
/*
Warren Brunk - MCITP - SQL 2005, MCDBA
www.techintsolutions.com
*/
"Sam Davis" <SamDavis@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:6779F1A3-5788-4DF1-9EDB-9494CE5D6289@xxxxxxxxxxxxxxxx
We are looking at creating an application which we would like to offer in
a
hosted environment. The database would be held at our data center, and the
user would connect through VPN to access the data. My question is if we
use
Windows Authentication do we need to manage the remote offices network
authentication, require them to have a windows server for authentication,
or
are we limited to just using SQL Authentication? What are the scenarious
required for this? In addition we would have a database per customer.
Which
means we would have to manage N domains, N = Number of Customers.
Any thoughts on the subject is appreciated.
Thanks
Sam
- References:
- Re: Windows Authentication and software in a hosted environment.
- From: Warren Brunk
- Re: Windows Authentication and software in a hosted environment.
- Prev by Date: Re: Windows Authentication and software in a hosted environment.
- Next by Date: Re: Delegation through Linked Server Stops working
- Previous by thread: Re: Windows Authentication and software in a hosted environment.
- Index(es):
Relevant Pages
|
|