password files
What is the best way to protect the uname/pwd combinations to connect to a database? The only thing in use where I'm at is to keep them all in a configuration file alongside the application and encrypt them with jce, which is decrypted by the application at run-time.Thanks,,
[290 byte] By [
j_saejina] at [2007-11-26 19:44:45]

# 1
AFAIMC the real question is "is it necessary?"if someone has access to the filesystem where the config file is, he will have access to everything needed to decrypt ,or to the LAN where the user/pass will be transmitted once decrypted.What is the context of your application?
# 7
the server is primarily a web server. It doesn't serve the purpose of file sharing.. there is always the concern from regular users, but mainly the concern of a compromise on the server from outside the lan-which could lead to a compromise in the database, which would be beneficial to
# 10
ok, you want to find a solution to possible security holes... if you find one, please share it, i'm sure the whole software industry will thank you ;)