dbTalk Databases Forums  

restricting user's password change ability.

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss restricting user's password change ability. in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JoeyD
 
Posts: n/a

Default restricting user's password change ability. - 03-28-2011 , 04:19 PM






I have a question about disabling the ability for a user to change
their password by using alter login <login name> with password = <new
password>. We have a different process in place, with audit trails,
that a SQL authenticated user can change their password. So how can
we prevent a user from being able to use the Alter Login option to
change their password?

Thanks much,
Joe

Reply With Quote
  #2  
Old   
Erland Sommarskog
 
Posts: n/a

Default Re: restricting user's password change ability. - 03-28-2011 , 04:45 PM






JoeyD (joeydba (AT) gmail (DOT) com) writes:
Quote:
I have a question about disabling the ability for a user to change
their password by using alter login <login name> with password = <new
password>. We have a different process in place, with audit trails,
that a SQL authenticated user can change their password. So how can
we prevent a user from being able to use the Alter Login option to
change their password?
I can see two possibilities. One is to set up a DDL trigger for ALTER_LOGIN
and then checks if the WITH PASSWORD clause is present.

The other is to set the password policy in Windows on the SQL Server machine
to not permit users to change their passwords.


--
Erland Sommarskog, SQL Server MVP, esquel (AT) sommarskog (DOT) se

Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx

Reply With Quote
  #3  
Old   
JoeyD
 
Posts: n/a

Default Re: restricting user's password change ability. - 03-29-2011 , 10:35 AM



Thank you for the suggestions. I had given some thought to the DDL Trigger but wasn't sure I wanted to go down that road.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.