Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4564898
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:34:01+00:00 2026-05-21T18:34:01+00:00

Hey I have a DB Settings in web.config as follows <connectionStrings> <add name=DBConnectionString connectionString=server=serverName;database=dbName;user=dbuser;pwd=dbpass;MultipleActiveResultSets=True;

  • 0

Hey I have a DB Settings in web.config as follows

<connectionStrings>
      <add name="DBConnectionString" connectionString="server=serverName;database=dbName;user=dbuser;pwd=dbpass;MultipleActiveResultSets=True;" providerName="System.Data.SqlClient" />
</connectionStrings>

Whats best practice for the username and password ? Is it best to just make up a stronger password i.e Iu5jku23 something like that ?

And then in SQL Server 2008 what are the best settings for the user at the moment my sql user has

db_datareader
db_datawriter
db_owner
db_securityadmin
db_accessadmin

anyone ones I should remove ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:34:01+00:00Added an answer on May 21, 2026 at 6:34 pm

    Examples of Strong SQL Server passwords:

    • Does not contain all or part of the
      user’s account name
    • Is more than eight characters in
      length
    • Contains characters from at least
      three of the following categories:
    • English uppercase characters (A
      through Z)
    • English lowercase characters (a
      through z)
    • Base 10 digits (0 through 9)
    • Nonalphabetic characters (for
      example: !, $, #, %)

    As far as setting permissions, it really depends on how granular you want to get and how limited you want your attack surface area to be.

    Setting db_owner basically allows that user to do anything. So if this particular “account” only needs to read data and show it on a webpage, than datareader would be your best, most secure choice.

    So as most things, it depends on what you are doing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey I have a windows server running python CGI scripts and I'm having a
Hey all. I have a server written in java using the ServerSocket and Socket
Hey gang. I have just written a client and server in C++ using sys/socket.
Hey all, have been working on designing a new database for work. They have
Hey I have a wordpress blog, and I need to add some negative margin
Hey, I have a REST based server, and in some cases I want to
Hey i have this div that shows as a popup: <div class=popup> </div> Then
Hey all - I have an app where I'm authenticating the user. They pass
Hey right now I'm using jQuery and I have some global variables to hold
Hey. I have an object that has a string property called BackgroundColor. This string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.