Re: Securing a web DB
From: Paddy (googlegroups@concurrency.co.uk)
Date: 11/29/02
- Next message: Cap: "Re: Hi. My name is Debbie. I am an idiot"
- Previous message: Dustin Puryear: "Re: Securing a web DB"
- In reply to: Murali Vasudevan: "Securing a web DB"
- Next in thread: Murali Vasudevan: "Re: Securing a web DB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: googlegroups@concurrency.co.uk (Paddy) Date: 29 Nov 2002 09:51:02 -0800
"Murali Vasudevan" <diffs@vsnl.com> wrote in message news:<as73ip$gbi$1@newsreader.mailgate.org>...
> Hi,
>
> We are putting up a ASP.NET based web site using SQL Server database.
>
> Users of the web site get to see confidential data. All of them have to
> login to look at data.
> Eventually the site will be SSLed to protect it from password hacking.
>
> The way the s/w is designed currently is to read the connection string (db
> name, uid, password) from an XML file and establish connection to the DB.
>
> We are planning to host the site with as ISP.
> One of the requirements is that the ISP should not be able to "easily"
> access the SQL database.
> Firstly, we are planning to use SQL server authentication (and not Win 2K
> integrated login) for the database.
> We want to ensure that the Web host administrator does not read XML file and
> get to know the SQL server password.
> One suggestion is to encrypt the password (or connect string) and store this
> in XML.
>
> What do others do in these situations ? Any ideas are welcome.
>
> Murali
Well make sure your SQL account privs are all set up *really well* -
ie don't be like so many of the muppets out there and run everything
as sa! All data access must be through stored procedures, lock down
the privs on them to soem very simple account. Don't allow selects,
inserts etc on the data tables themselves.
The SQL Authentication has limitations as the password for the login
is sent in very weakly encrypted form (just some bit-swapping and
XORing - search on securityfocus.com for more details), so maybe look
for an ISP you trust?
Thought about hosting offshore? - maybe sealand
(http://www.havenco.com/) where the boxes are literally on an oil
platform in the middle of the sea, with only 2 ppl allowed access?
hth
- Next message: Cap: "Re: Hi. My name is Debbie. I am an idiot"
- Previous message: Dustin Puryear: "Re: Securing a web DB"
- In reply to: Murali Vasudevan: "Securing a web DB"
- Next in thread: Murali Vasudevan: "Re: Securing a web DB"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|