This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
SQL Server role mappings.

SQL SERVER – Solution – User Not Able to See Any User Created Object in Tables – Security and Permissions Issue

June 19, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Security

A friend could connect to SQL Server but could not see any user created object, while his colleague could. It was a security and permissions issue.

Read More
A pepper mill holds peppercorns above its mechanism with an unsuitable pebble caught before grinding

Second-Order SQL Injection: When Stored Data Becomes Code

May 30, 2012
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Server Security, SQL String, SQL Variable

A safe insert does not make the saved value safe forever. Here is how stored text turns into code later, and the plain fix.

Read More
Gouache painting of closed books and an open blank book beside a miniature gateway and branching wooden model.

Joes 2 Pros SQL Server Videos from May 2012: SQL in Sixty Seconds

May 16, 2012
Pinal Dave
SQL Video
CTE, Joes 2 Pros, SQL in Sixty Seconds, SQL Server Security, SQL XML

These Joes 2 Pros SQL Server videos cover XML methods, error actions, query hints, hierarchical queries and security. Each lesson keeps its original video and gains a small example tested on SQL Server 2025, from XACT_ABORT to a forced loop join.

Read More
A pastry crimper seals a pie edge through its fixed toothed shape beside unused decorative cutters

Dynamic ORDER BY Without Injection: Whitelisting Sort Columns

May 9, 2012
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Order By, SQL Server Security, SQL Variable

Parameters cannot name a column, so grids end up gluing text into SQL. Here is the approved-list pattern that keeps the sort safe.

Read More
SQL SERVER - Introduction to SQL Server Security - A Primer

SQL SERVER – Introduction to SQL Server Security – A Primer

April 23, 2012
Pinal Dave
SQL Tips and Tricks
Joes 2 Pros, SQL Scripts, SQL Server, SQL Server Security

A primer on SQL Server Security terms with a simple story: Tom needs Read access to the Financial Folder. Learn what a securable, principal and permission are.

Read More
Gouache painting of a visitor with an access card entering a database doorway

Guest User in msdb: Keep CONNECT and Avoid Error 916

February 24, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Login, SQL Server Security, System Database

The guest user in msdb needs CONNECT permission for features that run under logins without a user there. I reproduced error 916 in a test database on SQL Server 2025, with a query to check guest in msdb and a way to list every database where guest can connect.

Read More
Guest user disabled.

SQL SERVER – Detecting guest User Permissions – guest User Access Status

February 23, 2012
Pinal Dave
SQL Tips and Tricks
SQL Server Security

Is the guest user enabled or disabled, and what is the default? I answer reader questions and show ways to detect guest user access status.

Read More
Previous 1 … 32 33 34 35 36 37 38 … 56 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com