Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding a record to MS Access DB
Message
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00689664
Message ID:
00690025
Vues:
19
To add impersonation, add the following to your web.config file inside the system.web tags:
<identity impersonate="true" userName="myUserName" password="myPassword"/>
>Hi Jayesh,
>
>Thanks for the info - I think I may have found a more appropriate article that applies specifically to ASP.Net
>
>http://support.microsoft.com/default.aspx?scid=kb;en-us;q316675
>
>The recommended solution(s) include:
>
>
>
>1. Configure the ASP.NET worker process to run under the SYSTEM
>account in the <processModel> section of the Machine.config file.
>
>2.  For security reasons, Microsoft recommends that you enable impersonation
>on your ASP.NET application. This method works if the impersonated user
>has necessary permissions to the computer and the database that you are accessing.
>
>3.  Grant read and write permissions for the "Everyone" group on the database
>and the database folder. This method is not safe; therefore, Microsoft does not
>recommend this method.
>
>
>
>Does anyone know what has to be done to "enable impersonation" on an ASP.NET application...
>
>>It is a known issue...
>>
>>Check out this KB article..
>>
>>http://support.microsoft.com/default.aspx?scid=kb;EN-US;q175168
>>
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform