Re: How do I make my database secure?
- From: John Murray <jmurray@xxxxxxxxx>
- Date: Thu, 17 Nov 2005 17:04:35 -0600
Even with encryption, the system has to have a key, and in a shared hosting environment, it is going to be extremely difficult to come up with a way to protect that key .... If someone is able to penetrate the system and get direct access to the SQL Server .... then chances are they are going to be able to scan your code to find the encryption keys, or how you are obfuscating them.
Norman Yuan wrote:
Besides what said in other post, when storing sensitive data, such as credit card info, you should not store the data in database as clear text. You should encrypt the data itself before place it into database. And then when your app reads these data, you decrypt them. So that the data is not physically readable by anyone other than your app.
"COHENMARVIN" <cohenmarvin@xxxxxxxxxxx> wrote in message news:1132253676.405124.194210@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I have a sql server database hosted by an ISP. It has credit card fields. I want to make the database secure. My asp.net pages refer to the database as follows: strConnection = ConfigurationSettings.AppSettings["ConnectionInformation"]; Which means they get the connectionstring for the database from a web.config file. The web.config file has the following tags: <appSettings> <add key="ConnectionInformation" value="Server=sql2k5.earthweb.com;Database=merc_One;uid=usa_hvtest;password=vinyl" /> </appSettings> Is there some way to encrypt the connection string? Would it be encrypted in the web.config? Could some hacker get at the web.config? Are there any other security measures I could take? For instance, could the creditcard fields be encrypted in the database? Thanks in advance for any pointers. -- Marvin
.
- References:
- How do I make my database secure?
- From: COHENMARVIN
- Re: How do I make my database secure?
- From: Norman Yuan
- How do I make my database secure?
- Prev by Date: Re: Intranet - Printing ID Badges (Bit OT)
- Next by Date: Re: Q: Website administration tool.
- Previous by thread: Re: How do I make my database secure?
- Next by thread: DataGrid display
- Index(es):
Relevant Pages
|