0

I am developing an application connected to a database, I'm using visual studio 2008 (visual basic) for my front end and mysql for my back-end. When creating a connection string, vb.net prompts me with a warning saying that the connection string that I am creating contains a sensitive data and it would be too risky to include that data in the connection string... I could just ignore it's warning and my application would work fine but I'm concerned about the security of my data, can someone help me pls?...

I already read some in the internet about securing connection strings but I can't seem to grasp the idea on to implement it and not sure if it really is the solution I am looking for...

4
  • 1
    "I can't seem to grasp the idea on to implement it" - What have you read and what don't you understand? Commented Aug 24, 2012 at 10:19
  • Im sorry I was talking about how to implement security on connection strings..i found one in the internet and it says something about regiis tool, but I don't know if I can also use it in my application.. Commented Aug 24, 2012 at 10:31
  • Difficult to know what you mean without a link to the article. As for using it - did you try? Commented Aug 24, 2012 at 10:33
  • I think I just need to read some more I guess..thanks for your time anyway.. Commented Aug 24, 2012 at 10:42

1 Answer 1

2

The following example shows how to encrypt the connectionStrings section of the Web.config file for an application named SampleApplication:

aspnet_regiis -pe "connectionStrings" -app "/SampleApplication"

For non-IIS apps, use Protected Configuration

http://msdn.microsoft.com/en-us/library/89211k9b%28v=vs.80%29.aspx

Sign up to request clarification or add additional context in comments.

1 Comment

thank you ^_^ I think I need to read some more about securing connection string first. I'll also try your advise while reading.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.