Please start any new threads on our new site at http://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 access table via only 'sa' user
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

zahidnabi
Starting Member

Australia
1 Posts

Posted - 03/09/2015 :  03:38:06  Show Profile  Reply with Quote
i want to store username and passwords of different file servers and make this table accessible only via 'sa' user(so it can be accessible via a stored procedure). Any ideas how I can accomplish this.

Zahid

SwePeso
Patron Saint of Lost Yaks

Sweden
30421 Posts

Posted - 03/09/2015 :  06:49:56  Show Profile  Visit SwePeso's Homepage  Reply with Quote
sa account should be disabled for any number of reasons.
Create a new role which sole purpose is accessing the username and password table.
But then again, the passwords should be hashed with a salt anyway.



Microsoft SQL Server MVP, MCT, MCSE, MCSA, MCP, MCITP, MCTS, MCDBA
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000