Re: How to change user account properties by ASP.NET?
From: Evgeny Zoldin (zoldin_at_hotmail.com)
Date: 11/23/04
- Next message: Evgeny Zoldin: "Re: How to change user account properties by ASP.NET?"
- Previous message: Olaf Lüder [MVP]: "Re: Paging-Problem mit weiterblättern im Grid"
- In reply to: Scott Allen: "Re: How to change user account properties by ASP.NET?"
- Next in thread: Scott Allen: "Re: How to change user account properties by ASP.NET?"
- Reply: Scott Allen: "Re: How to change user account properties by ASP.NET?"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 23 Nov 2004 23:37:31 +0100
Hi Scott,
thanks a lot for your help. One more question. is it possible to use
impresonating not for whole application but for selected page of them,
namely that where user will be change its data under imparsonated Admin
account?
Thank you in advance
Evgeny
"Scott Allen" <bitmask@[nospam].fred.net> wrote in message
news:9ra7q0t3440us63d0vce8pje4n0tl6igk1@4ax.com...
> 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: Evgeny Zoldin: "Re: How to change user account properties by ASP.NET?"
- Previous message: Olaf Lüder [MVP]: "Re: Paging-Problem mit weiterblättern im Grid"
- In reply to: Scott Allen: "Re: How to change user account properties by ASP.NET?"
- Next in thread: Scott Allen: "Re: How to change user account properties by ASP.NET?"
- Reply: Scott Allen: "Re: How to change user account properties by ASP.NET?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|