Using SQL Server Security - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming » Using SQL Server Security


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-14-2006   #1 (permalink)
Tom Tom
Junior Member
 
Join Date: Jul 2006
Age: 48
Posts: 25
Default Using SQL Server Security

If you really did intend to use SQL Server security because that's how your company or department has set up sccess to your SQL Server (perhaps because some clients are non-Microsoft), then you need to specify a user name and password in the connection string as shown here:

thisConnection.ConnectionString= _
"server = (local)\netsdk;" & _
"User id = sa;" & _
"password = x1y2z3"

The sa user name is the default system administrator account for SQL server. If a specific user has been set up, such as george or payroll, then specify that name. The password for sa is set when SQL Server is installed. If the user name you use has no password, you can omit the password clause entirely or specify an empty password, as follows:

password =;

However, a blank password is bad practice and should be avoided, even in a test enviroment
Tom Tom is offline   Reply With Quote


Old 09-01-2008   #2 (permalink)
willyoumind
Senior Member
 
willyoumind's Avatar
 
Join Date: Jul 2008
Posts: 300
Default Re: Using SQL Server Security

You've the point here, Tom.

I have never use the blank password, as it is totally insecure to me.
Plus, I can't afford to lose my accounts as well!
willyoumind is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference between a server-side include and server.Execute? agaba175 ASP 0 08-05-2006 08:37 PM
Why Congress Won't Fix Social Security janedu All Things General 0 08-01-2006 10:51 PM
Security & Surveillance systems claire General Business Issues 1 07-27-2006 09:34 AM
What is code access security (CAS)? agaba175 .NET 1 07-21-2006 01:24 PM


footer left
All times are GMT. The time now is 10:54 AM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Online Advertising | Cheap Loan | Advertising | Equity Release | Final Fantasy

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49