Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Database: MS SQL Server
 encrypt password of connectionstring
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

von7thal
Starting Member

15 Posts

Posted - 23 June 2009 :  12:12:43  Show Profile
hi

is there a possibility to encrypt the password of the connectionstring in the config.asp-file?

i use windows integrated authentication. is it possible to use the logged in userinformation?

greez

AnonJr
Moderator

United States
5768 Posts

Posted - 23 June 2009 :  13:36:46  Show Profile  Visit AnonJr's Homepage
Not sure if you can use Integrated Authentication with SQL Server or not, but if someone has access to your code to read the user name/password (and you don't trust them) I think you've got bigger problems.
Go to Top of Page

von7thal
Starting Member

15 Posts

Posted - 23 June 2009 :  14:06:31  Show Profile
that is correct.
and thats why id like to store the password encrypted in the config-file. forget about the windows integrated authentication.
what possibility do i have to encrypt it?
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 23 June 2009 :  14:35:51  Show Profile  Visit AnonJr's Homepage
Kinda missed the latter point: if they have access to your code there's nothing to stop them from copying and using the connection information - encrypted or otherwise. If they have that kind of access to your server then you are screwed.
Go to Top of Page

Doug G
Support Moderator

USA
6493 Posts

Posted - 23 June 2009 :  15:56:44  Show Profile
if you're really using integrated authentication in your sql server you don't have to worry about passwords in the config file, the sql server will automatically use the windows user account that your web server is running under, not whatever you might have in the connection string.



======
Doug G
======
Computer history and help at www.dougscode.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.16 seconds. Powered By: Snitz Forums 2000 Version 3.4.07