Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sp_addlogin Password Protection 1

Status
Not open for further replies.

perrymans

IS-IT--Management
Nov 27, 2001
1,340
US
Is there a way to protect the password passed as part of an sp_addlogin command from a client to server using OpenClient?

Thanks. Sean.
 
Try isql with -X option

isql -U${USERNAME} -P${PASSWORD} -S${SERVER_NAME}
-w1000 -X
exec sp_addlogin <LOGIN_NAME>,<PASSWORD>,<DATABASE>, ...
go

-X specifies that, in the connection to the server, the application initiates the login with client-side password encryption

HTH,

Learner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top