Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Visible SQLConnection String

Visible SQLConnection String

Scheduled Pinned Locked Moved ASP.NET
questioncomsysadminwindows-admin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    pj4FarEweDsf
    wrote on last edited by
    #1

    Here is my argumentative question for all those in CodeProject land since my professors cant give me a straight answer. I have an application (WhateverAPP in IIS on a Server2003 machine) that pulls data from a SQL2000 server (WhateverServer located on the same machine). The connection string (Server=WhateverServer; Initial Catalog=Fortnox; Uid=sa; Password=YouWish;) is supposed to be readable through a packet analyzer (netmon.exe) since the connection string is clear type. Well..... I have looked at each packet so many damn times that I can read the hex easier that the text, needless to say it aint in there even though everyone says it is. If I create a simple data tier (class library instead of COM+ class) will this hide the connection string, the string that I can’t see anyway? Thanks in Advance! Joseph

    S 1 Reply Last reply
    0
    • P pj4FarEweDsf

      Here is my argumentative question for all those in CodeProject land since my professors cant give me a straight answer. I have an application (WhateverAPP in IIS on a Server2003 machine) that pulls data from a SQL2000 server (WhateverServer located on the same machine). The connection string (Server=WhateverServer; Initial Catalog=Fortnox; Uid=sa; Password=YouWish;) is supposed to be readable through a packet analyzer (netmon.exe) since the connection string is clear type. Well..... I have looked at each packet so many damn times that I can read the hex easier that the text, needless to say it aint in there even though everyone says it is. If I create a simple data tier (class library instead of COM+ class) will this hide the connection string, the string that I can’t see anyway? Thanks in Advance! Joseph

      S Offline
      S Offline
      Steven Campbell
      wrote on last edited by
      #2

      Just because the connection string is clear-type, does not mean that that is how it is sent by the SQL client library to the server. In fact, the connection string is never sent to the server at all. It is intepreted, and then, using an API, the connection is made to the server. The username and password may or may not be passed as plain text, depending on the specific API. In the case the SQL Client libraries, I very much doubt it is sent unencrypted.


      my blog

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups