Solved

sqlcmd   encrypted password

Posted on 2015-01-07
3
567 Views
Last Modified: 2015-01-12
Hello,

We are now connecting to  DB with clear text password and we would like to use encrypted password. How we can do it?
0
Comment
Question by:mokkan
3 Comments
 
LVL 75

Accepted Solution

by:
Aneesh Retnakaran earned 500 total points
ID: 40535935
the best way is to use a trusted connection, you need to use windows authentication for this. or you can use set the username and password and env variables as mentioned on the post below, but it is still not the best option.

http://zainuvk.blogspot.ca/2011/09/hise-username-and-password-with-sqlcmd.html
0
 
LVL 33

Expert Comment

by:ste5an
ID: 40535938
There's no such thing.

What do you want really? Encrypt the the connection to SQL Server? Then you need to setup your server correctly. See Enable Encrypted Connections to the Database Engine (SQL Server Configuration Manager)

Another option would be using Integrated Authentication.
0
 

Author Closing Comment

by:mokkan
ID: 40545422
Thank  you
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Query Syntax 17 36
VB.net and sql server 4 36
Have a conversion issue with varchar to int in a SQL: Query. 1 30
abs operation in sql server 15 15
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
When you hear the word proxy, you may become apprehensive. This article will help you to understand Proxy and when it is useful. Let's talk Proxy for SQL Server. (Not in terms of Internet access.) Typically, you'll run into this type of problem w…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how the fundamental information of how to create a table.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question