Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-05-18 : 08:19:41
|
| Terry writes "Hi,I have a third party app which created a user on the database. This user was given has a public and dev role. There is a password tag to the user and it is hard coded onto the application. Changing the password on Enterprise Manager will result in the app not being able to connect to the DB. I need to restrict this user to only login through the app and not anywhere else ie. Enterprise Manager or WindowsIs there anyway this can be done? Please advise.Windows 2000 Server w/SP3SQL2000 Server w/SP3" |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-05-18 : 13:35:26
|
| You can not restrict access to the database from a particular tool. If the user has access, then they can get in with any tool.Tara |
 |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2004-05-18 : 14:11:43
|
| Get the application corrected.Having a user with a fixed password is a big security hole.==========================================Cursors are useful if you don't know sql.DTS can be used in a similar way.Beer is not cold and it isn't fizzy. |
 |
|
|
mahesh
Starting Member
6 Posts |
Posted - 2004-05-18 : 14:49:24
|
| You can use application role in sql server.For more information see books online for rolesMahesh ParanjpeSQL DBA |
 |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-05-18 : 18:52:04
|
| HELLOOOOOOOOOOO!!!!!!!MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
|
|
|