|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Ent. Library w/DB 2 registry access problemHi,
We are using Enteprise library in our application to manage database connectivity to a DB2 server. When the application is delpoyed we receive an error when opening a connection to the database. The problem is that the db2app.dll is not allowed the registry access. I have read the security policy documents and have generated a policy file with Enterprise level permission with unrestricted registry access. Yet, still this does not give it the appropriate permissions. If the code uses a managed Db2 connection it works fine. Has anyone ever encountered this problem and/or does anyone have a fix for this? Thank you. Is the registry access due to a Windows ACL problem or a CAS problem? If it
is Windows ACL, then CAS policy won't help you. CAS can only further restrict what Windows can do in the first place. Do you know what registry keys are being accessed and what their permissions are? Joe K. Show quoteHide quote "slpg5250" <slpg5***@discussions.microsoft.com> wrote in message news:0ACB93BB-31EE-40C0-BAFB-8DBAC721C53D@microsoft.com... > Hi, > We are using Enteprise library in our application to manage database > connectivity to a DB2 server. When the application is delpoyed we receive > an > error when opening a connection to the database. The problem is that the > db2app.dll is not allowed the registry access. I have read the security > policy documents and have generated a policy file with Enterprise level > permission with unrestricted registry access. Yet, still this does not > give > it the appropriate permissions. If the code uses a managed Db2 connection > it > works fine. Has anyone ever encountered this problem and/or does anyone > have > a fix for this? Thank you. > > CAS can only well - to be exact - > further restrict what Windows can do in the first place. CAS comes first, then Windows :)) --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com Show quoteHide quote > Is the registry access due to a Windows ACL problem or a CAS problem? > If it is Windows ACL, then CAS policy won't help you. CAS can only > further restrict what Windows can do in the first place. > > Do you know what registry keys are being accessed and what their > permissions are? > > Joe K. > > "slpg5250" <slpg5***@discussions.microsoft.com> wrote in message > news:0ACB93BB-31EE-40C0-BAFB-8DBAC721C53D@microsoft.com... > >> Hi, >> We are using Enteprise library in our application to manage database >> connectivity to a DB2 server. When the application is delpoyed we >> receive >> an >> error when opening a connection to the database. The problem is that >> the >> db2app.dll is not allowed the registry access. I have read the >> security >> policy documents and have generated a policy file with Enterprise >> level >> permission with unrestricted registry access. Yet, still this does >> not >> give >> it the appropriate permissions. If the code uses a managed Db2 >> connection >> it >> works fine. Has anyone ever encountered this problem and/or does >> anyone >> have >> a fix for this? Thank you.
FileLoadException when running app with Impersonate from network folder.
SslStream AuthenticateAsServer help Help please, security problem with NET Fail mutual authentication from c# client to tomcat 4.1 web servic How to use makecert.exe ? Signing documents with certificates Extracting certificate from the smart card thru cryptoApi in c# How can I extract the certificate from smart card by cryptoAPI in ASP.NET writing to EventLog in Server 2003 Help on access server |
|||||||||||||||||||||||