Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

good link.

 

For the lazy... here is a resume (that means you really shall look at the link if your mind is scrambled) :

 

Impersonation is used in ASP.NET app to use another account to do some task. As an exemple of that... If you use ASPNET account... ASPNET won't be able to start any COM object because it don't have the "rights" to do that. You'll have to manually configure your server EVERYWHERE to give the correct right (believe me it's not an easy work). But if you use Impersonate... you create a local user account and you say to ASPNET to use this account to do ALL the task on the server.

 

This give you many plus :

  • Every application have their "own" rights if they all use Impersonate. Otherwise... they have an access to everywhere anyway (plus and con if you can catch what are the consequence)
  • Don't have to reconfigure your server for ASPNET to have the right access everywhere

Well... that's the end of my speach... if you want to know more... follow the link of jspencer.

 

If someone knows more pro and cons... don't be shy to say them. It's always good to have an all-around opinion of a function.

"If someone say : "Die mortal !"... don't stay to see if he isn't." - Unknown

"Learning to program is like going out with a new girl friend. There's always something that wasn't mentioned in the documentation..." - Me

"A drunk girl is like an animal... it scream at everything like a cat and roll in the grass like a dog." - Me after seeing my girlfriend drunk and some of her drunk friend.

C# TO VB TRANSLATOR

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...