Re: How to change user account properties by ASP.NET?
From: Scott Allen (bitmask_at_[nospam)
Date: 11/23/04
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: How to change user account properties by ASP.NET?"
- Previous message: Evgeny Zoldin: "How to change user account properties by ASP.NET?"
- In reply to: Evgeny Zoldin: "How to change user account properties by ASP.NET?"
- Next in thread: Evgeny Zoldin: "Re: How to change user account properties by ASP.NET?"
- Reply: Evgeny Zoldin: "Re: How to change user account properties by ASP.NET?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 23 Nov 2004 16:32:38 -0500
Hi Evgeny:
>I know about impersonation possibility, but it requires to type clear
>Administrators username and password in code-behind class that will be
>published on target server.
If you use
<identity impersonate="true"/>
in the web.config file, than you are impersonating the client without
using an explicit username / password. This is probably the safest
approach, because only local admins would be able to change the
passwords for the local users.
You can put username and password attributes in the <indentity>
element and have the password encrypted in the registry. This is
described in the remarks section of the following:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfidentitysection.asp
Note however, that all users will then have a request impersonating an
admin, so it's a dangerous approach.
-- Scott http://www.OdeToCode.com/blogs/scott/
- Next message: Joe Kaplan \(MVP - ADSI\): "Re: How to change user account properties by ASP.NET?"
- Previous message: Evgeny Zoldin: "How to change user account properties by ASP.NET?"
- In reply to: Evgeny Zoldin: "How to change user account properties by ASP.NET?"
- Next in thread: Evgeny Zoldin: "Re: How to change user account properties by ASP.NET?"
- Reply: Evgeny Zoldin: "Re: How to change user account properties by ASP.NET?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|