No...not a safe practice. Users can change their own
passwords without needing to implement any security changes.
Check books online and look up sp_password.
By default, public has execute permissions on this system
stored procedure. Logins that aren't members of sysadmins or
securityadmins can only change their own passwords. That is
what you would want.
-Sue
>I created a SQL login name which I'm specifically intending to use as the
>login id that can allow a user to change their own password. I currently
[quoted text clipped - 4 lines]
>Can anyone advise if this is a safe practice or should I be doing a
>different approach in letting users change their own passwords?
J - 27 Apr 2006 23:50 GMT
Thanks a bunch for your reply Sue. I really appreciate it.
When you mean the Public role are you referring to the Public role in my
user defined database or the master database? I tried to execute
sp_password from my .asp page to change my own password being logged in as a
regular database user and am getting the following error message:
'Only members of the sysadmin role can use the loginame option. The password
was not changed.'
Thanks Sue.
J
> No...not a safe practice. Users can change their own
> passwords without needing to implement any security changes.
[quoted text clipped - 16 lines]
>>Can anyone advise if this is a safe practice or should I be doing a
>>different approach in letting users change their own passwords?
J - 28 Apr 2006 00:31 GMT
Actually I just found out that I just needed to remove the last parameter of
supplying the login id and it worked fine.
Thanks again :-)
J
> Thanks a bunch for your reply Sue. I really appreciate it.
>
[quoted text clipped - 30 lines]
>>>Can anyone advise if this is a safe practice or should I be doing a
>>>different approach in letting users change their own passwords?
Sue Hoegemeier - 28 Apr 2006 00:36 GMT
No problem...thanks for posting back.
-Sue
>Actually I just found out that I just needed to remove the last parameter of
>supplying the login id and it worked fine.
[quoted text clipped - 37 lines]
>>>>Can anyone advise if this is a safe practice or should I be doing a
>>>>different approach in letting users change their own passwords?