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. General Programming
  3. C#
  4. security

security

Scheduled Pinned Locked Moved C#
databasesecuritycollaborationregexxml
3 Posts 3 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.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    I use singleton pattern to connect to a database and sql sentences , but the string connections read one time from an xml file when i do new SingletonClass(). Is this safe?? cos the string connection that i read, is stored on a private attributte of the singleton class. and the next times that i want to access to database i dont read the xml with the parameters to the string connection,i use the string var with the string connections. thanks

    God make a perfect team, the rest have foreigners, Athletic Club Bilbao

    2 1 Reply Last reply
    0
    • L Lost User

      I use singleton pattern to connect to a database and sql sentences , but the string connections read one time from an xml file when i do new SingletonClass(). Is this safe?? cos the string connection that i read, is stored on a private attributte of the singleton class. and the next times that i want to access to database i dont read the xml with the parameters to the string connection,i use the string var with the string connections. thanks

      God make a perfect team, the rest have foreigners, Athletic Club Bilbao

      2 Offline
      2 Offline
      224917
      wrote on last edited by
      #2

      Legolas.Bilbao wrote:

      Is this safe??

      Are you worried about the connection string being stored in an xml file on the disk ?


      suhredayan
      There's no place like 127.0.0.1

      L 1 Reply Last reply
      0
      • 2 224917

        Legolas.Bilbao wrote:

        Is this safe??

        Are you worried about the connection string being stored in an xml file on the disk ?


        suhredayan
        There's no place like 127.0.0.1

        L Offline
        L Offline
        Legolas_Bilbao
        wrote on last edited by
        #3

        worried about string connection had stored on memory its a problem or not? maybe its a paranoic question

        Dios creo un equipo perfecto a los demas los lleno de extranjeros

        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