473,545 Members | 2,627 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ADP with SQL Server login

When I make change in the Connection screen in an adp I get the message
"Your password will not be encrypted before it is saved to the file. Users
who view the source contents of the file will be able to see the account
user name and password".

I am trying to build a case for using NT accounts rather than SQL internal
accounts. What are the steps required to access the locally saved password?

Thanks,
Chris

Nov 13 '05 #1
3 2899
Terri,
Don't save the password in the connection string. Two, Microsoft with SQL
Server 2000 says that the recommended password scheme is Windows 2000
Integrated. But I am a stubborn, paranoid old cuss and don't like the fact
that a user can get to my databases by signing on to my Windows domain. So
I've got my SQL Server instance set up so it uses both SQL Server logins
independant of Windows. It's two account names/passwords for my users but
then it's also harder to hack my databases so I leave it like that. But . .
.. when you set up an instance of SQL Server one of the choices you make is
the authentication method. At the moment I am allowing Windows Integrated
authenticated but then I am only one guy and three computers. If I was
getting paid by a client I'd probably set up my instance to require a
seperate login.

"Terri" <te***@cybernet s.com> wrote in message
news:cj******** **@reader2.nmix .net...
When I make change in the Connection screen in an adp I get the message
"Your password will not be encrypted before it is saved to the file. Users
who view the source contents of the file will be able to see the account
user name and password".

I am trying to build a case for using NT accounts rather than SQL internal
accounts. What are the steps required to access the locally saved
password?

Thanks,
Chris

Nov 13 '05 #2
Thanks Alan. I'd like to move to a Windows integrated security model because
of its security advantages, but unless I can demonstrate that the password
is recoverable on the local workstation I'm not going to get very far with
the people who can make the decision to move to Windows integrated security.
Thanks
"Alan Webb" <kn*****@hotmai l.com> wrote in message
news:gY******** ************@co mcast.com...
Terri,
Don't save the password in the connection string. Two, Microsoft with SQL
Server 2000 says that the recommended password scheme is Windows 2000
Integrated. But I am a stubborn, paranoid old cuss and don't like the fact that a user can get to my databases by signing on to my Windows domain. So I've got my SQL Server instance set up so it uses both SQL Server logins
independant of Windows. It's two account names/passwords for my users but
then it's also harder to hack my databases so I leave it like that. But . .. . when you set up an instance of SQL Server one of the choices you make is
the authentication method. At the moment I am allowing Windows Integrated
authenticated but then I am only one guy and three computers. If I was
getting paid by a client I'd probably set up my instance to require a
seperate login.

"Terri" <te***@cybernet s.com> wrote in message
news:cj******** **@reader2.nmix .net...
When I make change in the Connection screen in an adp I get the message
"Your password will not be encrypted before it is saved to the file. Users who view the source contents of the file will be able to see the account
user name and password".

I am trying to build a case for using NT accounts rather than SQL internal accounts. What are the steps required to access the locally saved
password?

Thanks,
Chris


Nov 13 '05 #3
Terri,
It is as recoverable as any Windows Domain account/password. This is the
advantage/curse of it. When a user calls support complaining that their
password doesn't work you can reset the password to whatever in User Manager
(Windows NT) or Win2K Server's Active Directory Users & Computers. Why,
unless you want to be able to hack accounts, would you want to store the
account name & password in clear text on the local machine? Seems like and
invitation to a hacker to just steal everything. But . . . through the
Windows API's you can discover the currently logged in account name.
Password is another matter. And, this may not relate, but some services in
Windows 2000 can authenticate using Digest Authentication and that method
does ship the password across the network as clear text so it should be
possible to capture it. Last, but not least, if you defy my advice and
store the password in the connection string it's right there in that string.
Peeling it out is a simple matter of doing some fairly straightforward
string manipulation code.
But . . . I'd rather irritate my users and have better security.
"Terri" <te***@cybernet s.com> wrote in message
news:cj******** **@reader2.nmix .net...
Thanks Alan. I'd like to move to a Windows integrated security model
because
of its security advantages, but unless I can demonstrate that the password
is recoverable on the local workstation I'm not going to get very far with
the people who can make the decision to move to Windows integrated
security.
Thanks
"Alan Webb" <kn*****@hotmai l.com> wrote in message
news:gY******** ************@co mcast.com...
Terri,
Don't save the password in the connection string. Two, Microsoft with
SQL
Server 2000 says that the recommended password scheme is Windows 2000
Integrated. But I am a stubborn, paranoid old cuss and don't like the

fact
that a user can get to my databases by signing on to my Windows domain.

So
I've got my SQL Server instance set up so it uses both SQL Server logins
independant of Windows. It's two account names/passwords for my users
but
then it's also harder to hack my databases so I leave it like that. But
.

.
. when you set up an instance of SQL Server one of the choices you make
is
the authentication method. At the moment I am allowing Windows
Integrated
authenticated but then I am only one guy and three computers. If I was
getting paid by a client I'd probably set up my instance to require a
seperate login.

"Terri" <te***@cybernet s.com> wrote in message
news:cj******** **@reader2.nmix .net...
> When I make change in the Connection screen in an adp I get the message
> "Your password will not be encrypted before it is saved to the file. Users > who view the source contents of the file will be able to see the
> account
> user name and password".
>
> I am trying to build a case for using NT accounts rather than SQL internal > accounts. What are the steps required to access the locally saved
> password?
>
> Thanks,
> Chris
>
>
>



Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
7227
by: rrober07 | last post by:
Hello, My Setup is I have a Web Server machine(Devweb01), Database SQL Machine(Devsql01), a Client Machine(local machine) I have configured the SQL machine as follows: 1) Added local Aspnet user account (with same password as aspnet user on IIS (Devweb01)) 2) edited local machine.config file <ProcessModel> Password attribute to same...
4
5239
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf file and accessing it. I have a WroxUntied.mdf that...
7
2733
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf file and accessing it. I have a WroxUntied.mdf that I...
9
8306
by: craig.overton | last post by:
All, I am currently developing an FTP class in VB.NET. It's kid tested, mother approved when trying to access an FTP Server on a Windows box meaning I can connect, run commands, upload and download a file no problem. My issues come when I try to use the same class with the same commands to access an FTP server on a UNIX box. I can connect...
2
5308
by: Connie | last post by:
We have a blob in one table that is storing pdf files. I need to write a select query that will grab that column and write those *.pdf files out to a location on my hard drive. Does anyone know how that can be done? All suggestions would be greatly appreciated....
3
10687
by: Larry Bertolini | last post by:
Experiencing a little weirdness with SQL Server Management Studio... Have created a login, that has fixed server role "securityadmin". The login can create/drop logins, add/remove them as users in databases, etc. The login can change another login's password, using SQL from a query window (e.g. alter login bob with password='abc') ...
11
1787
by: Anil Gupte | last post by:
I am getting the following error: ********* Login failed for user 'AUM\ASPNET'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Data.SqlClient.SqlException: Login...
0
1275
by: Jean | last post by:
Hi, I have a question about logins and sql server express and an ASP.NET aplication. I put this question in sql server newsgroup, but without real answer sofar. I created a login 'Network service' at server level in Management Studio express. I use windows authentification. Then i defined an user for my database which is associated to...
8
4687
by: =?Utf-8?B?U2hlcndvb2Q=?= | last post by:
Greetings, I am attempting to use the following code to establish a connection to a SQL Server database. However, when I execute the code, I receive the following error: "Login failed for user 'guest'. The user is not associated with a trusted SQL Server connection." SqlConnection conn = new SqlConnection("Data
0
1324
by: daokfella | last post by:
I have a Login.aspx page that takes care of all my login procedures (validation, lockouts, password change requirements, password retrieval, etc.) It works like a charm. However, now I'd like a "quick login" control to appear in the banner at the top of my master page. This control will just have a username and password textbox and login...
0
7496
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7685
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7452
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6014
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5071
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3485
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3467
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1039
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
738
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.