Results 1 to 3 of 3

Thread: web.config DB Connection String

  1. #1

    Thread Starter
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196

    web.config DB Connection String

    Can anyone tell me the pros and cons of storing a database connection string in the web.config file
    In relation to security
    Thanks

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    I dont think there are any. The only way someone could see the web.config is if they get access to your files, and the same for putting it in a sesion variable being set in an aspx page.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3

    Thread Starter
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196
    That's what I was thinking, so if a malicous user can see the file contents your pretty much up *****s creek already.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width