Devops for Growth
112.1K views | +2 today
Follow
Devops for Growth
For Product Owners/Product Managers and Scrum Teams: Growth Hacking, Devops, Agile, Lean for IT, Lean Startup, customer centric, software quality...
Curated by Mickael Ruau
Your new post is loading...
Your new post is loading...

Popular Tags

Current selected tag: 'ms sql server'. Clear
Scooped by Mickael Ruau
October 4, 2013 5:55 AM
Scoop.it!

SQL Server Restore Options and Commands tutorial and example

What good is a backup if you do not know to restore the backup.  In this tutorial we will look at what restore options are available and which options are only accessible using T-SQL commands.

As you will see there are many options that can be used, but just like the BACKUP commands there are just a few parts of the RESTORE command that are needed to do a successful restore.

Take the time to review each of these topics to get a good understanding of what is available.

You can either use the outline on the left or click on the arrows to the right or below to scroll through each of these topics.

No comment yet.
Scooped by Mickael Ruau
October 4, 2013 5:48 AM
Scoop.it!

Running SQL Server Agent with a least privilege service account

Running SQL Server Agent with a least privilege service account | Devops for Growth | Scoop.it
For improved security Microsoft recommends the SQL Server Agent service account should not be a member of the local Administrators group.
Mickael Ruau's insight:

As a best practice, SQL Server Agent service account rights should be kept as low as possible to prevent exposing your system to security risks. Making the SQL Server service account an administrator, at either a server level or a domain level, grants too many unneeded privileges and should never be done. Ideally, all the SQL Server services should run from a different account and each account should have exactly the privileges that it needs to do its job and no additional privileges.

During a new installation, SQL Server setup does not default the SQL Server engine service and SQL Server Agent service to any account. The account specification is a required step for these services. Using a local user or domain user that is not a Windows administrator is the best choice.

If the server that is running SQL Server is part of a domain and needs to access domain resources, such as file shares or uses linked server connections to other computers running SQL Server, a domain account should be used. If the server is not part of a domain, a local user that is not a Windows administrator is preferred.

The SQL Server Agent service account requires sysadmin privileges in the SQL Server instance that it is associated with. In this tip I have tried to put forth a solution by running SQL Server agent under group (SQLServer2005SQLAgentUser$ComputerName$MSSQLSERVER). This group has all the required privileges and is not part of the administrator group.

NOTE: When you install Microsoft SQL Server to run using a Microsoft Windows NT account, SQL Server sets various Windows user rights and permissions on certain files, folders, and registry keys for that account. If you later change the startup account for the SQL Server Agent service using SQL Server Configuration Manager, SQL Server automatically assigns all the required permissions and Windows user rights to the new account for you, so that you do not have to do anything else.

No comment yet.
Scooped by Mickael Ruau
October 4, 2013 5:47 AM
Scoop.it!

Login failed for user 'domain\username'. (Microsoft SQL Server, Error: 18456)

Login failed for user 'domain\username'. (Microsoft SQL Server, Error: 18456) | Devops for Growth | Scoop.it
I am facing this problem when connecting to local system db, but when i connect any server it connects.

Login failed for user 'domain\username'. (Microsoft SQL Server, Error: 18456)

For help, cli...
Mickael Ruau's insight:

Create new user with Administrator privilege with same username and password as of SQL Server 2008 in operating system. On SQL Server database create new user by expanding DatabaseNode >> Security >> Login >> Create New User and add this new user with Windows Authentication radio button selected. This user can be only added by selected Windows Authentication it is Operating system’s User Login. Once above.you should perform the above steps using windows authentication

No comment yet.
Scooped by Mickael Ruau
October 4, 2013 5:44 AM
Scoop.it!

IIS, SQL Server et authentification Windows : Forum ASP.Net

IIS, SQL Server et authentification Windows : Forum ASP.Net | Devops for Growth | Scoop.it
Bonjour,

Je travaille sur un site Intranet pour lequel j'ai besoin de me connecter à
une base de données SQL Server avec l'authentification Windows.
Mickael Ruau's insight:

Avec une vue d'ensemble du mécanisme de sécurité Kerberos comparé à
NTLM, cela sera beaucoup plus simple:

http://www.microsoft.com/msj/0899/k...beros.aspx
http://www.microsoft.com/msj/1199/c...urity.aspx
http://msdn.microsoft.com/msdnmag/i...ebsecure2/

No comment yet.
Scooped by Mickael Ruau
September 30, 2013 8:43 AM
Scoop.it!

Connexion à SQL Server 2008 R2 sans mot de passe !

Connexion à SQL Server 2008 R2 sans mot de passe ! | Devops for Growth | Scoop.it
En cas de perte du mot de passe du compte sa et d'impossibilité de connexion avec le compte administrateur local, Microsoft SQL Server dispose d'un mode de démarrage où vous pourrez très simplement réparer les dégâts sans perte de données !
No comment yet.
Scooped by Mickael Ruau
October 4, 2013 5:49 AM
Scoop.it!

Sécurisation de SQL Server

La sécurisation de SQL Server peut être vue comme une série d'étapes, impliquant quatre domaines : la plateforme, l'authentification, les objets (y compris les données) et les applications qui accèdent au système. Les rubriques suivantes vous guideront tout au long des processus de création et de mise en place d'un plan de sécurité efficace.

Vous trouverez de plus amples informations sur la sécurité SQL Server sur le site Web de SQL Server. Cela inclut un guide de recommandations et une liste de contrôle de sécurité. Ce site contient également les informations et les téléchargements les plus récents sur les Service Packs.

Mickael Ruau's insight:

Contenu connexe

Considérations sur la sécurité pour une installation SQL Server

Sécurité et protection (moteur de base de données)

No comment yet.
Scooped by Mickael Ruau
October 4, 2013 5:47 AM
Scoop.it!

Adding an administrator user to SQL Server 2008

Adding an administrator user to SQL Server 2008 | Devops for Growth | Scoop.it
How do you add an administrator user to SQL Server 2008?
Mickael Ruau's insight:

If you're doing it via T-SQL:

Granting a Windows Login the ability to connect to SQL Server:

CREATE LOGIN [Domain\User] FROM WINDOWS;

or

CREATE LOGIN [Domain\Group] FROM WINDOWS;

If SQL Server-based login:

CREATE LOGIN [LoginName] WITH PASSWORD = 'SomePassword';

After that, you can do one of two things. You can add it to the membership of the sysadmin fixed server role using sp_addsrvrolemember:

EXEC sp_addsrvrolemember 'LoginName', 'sysadmin';

or you can grant the login CONTROL SERVER permissions:

GRANT CONTROL SERVER TO [LoginName];
No comment yet.
Scooped by Mickael Ruau
October 4, 2013 5:46 AM
Scoop.it!

Rubriques de procédures relatives à la gestion des connexions, des utilisateurs et des schémas

Dans cette section

Créer un compte de connexion

Créer un utilisateur de base de données

Créer un schéma de base de données

Attacher un rôle

Accorder une autorisation à un principal

No comment yet.
Scooped by Mickael Ruau
October 4, 2013 5:43 AM
Scoop.it!

SQL Server : Quels comptes de service choisir ? , SQL Server vu par Christian Robert

SQL Server : Quels comptes de service choisir ? , SQL Server vu par Christian Robert | Devops for Growth | Scoop.it
SQL Server est un moteur de base de données fonctionnant en tant que services, c'est-à-dire que vous avez juste à démarrer le serveur pour que l’application démarre. Nul besoin de se connecter au serveur, ni de démarrer un quelconque programme.
Mickael Ruau's insight:

Une petite synthèse des options intéressantes par situation.

 

Machine autonome sur le réseau :

 

Compte Utilisateur local WindowsCompte LocalService

 Machine sur DMZ nécessitant la connexion à d’autres serveurs

 

Compte NetworkService

 Machine sur domaine nécessitant la connexion à d’autres serveurs

 

Compte Utilisateur du Domaine
No comment yet.
Scooped by Mickael Ruau
August 21, 2013 4:18 AM
Scoop.it!

Les petits papiers de SQLPro - La sécurité avec SQL Server

Les petits papiers de SQLPro - La sécurité avec SQL Server | Devops for Growth | Scoop.it
Le langage de requête SQL, décrit en long en large et en travers... Sécurisation des données avec SQL Server
Mickael Ruau's insight:

"Certains chef de projet oublient d'intégrer au développement la sécurité des accès aux bases de données exploitées par les applicatifs. Le but de ce document est d'étudier les moyens de mettre en place cette sécurité "a posteriori".

No comment yet.