security
-
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
-
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
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 -
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.1worried 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