AzMan and ASP.Net

From: andy miller (themillers_at_72mm.com)
Date: 03/17/05


Date: Wed, 16 Mar 2005 16:06:47 -0800

I have been able to use AzMan from the Enterprise Library in a Windows Form
app. However, I'm having difficulty with security settings when doing the
same thing in ASP.Net. I have tried using both stores in Xml and ADAM (this
is preferred). However, I cannot find the settings I need to change to make
this work.

Is there anyone else who has been able to get ASP.Net and AzMan working?

Here are some of the settings I've used and the COM Exceptions that I'm
getting. All of the examples work in Windows Forms.

Any help would be greatly appreciated.

Thanks,
Andy Miller

Web Settings:
Web.Config Authentication Mode: Windows
IIS WebSite Security: Authenticated

Test 1:
- XML Store - C:\securityTestStore.xml
- IIS Security: Authenticated Only
- .net Machine.Config Process Model: SYSTEM or machine(ASPNET)
- Xml File Rights:
[mydomain]\[myaccount] - Full
Result: Access is Denied

Test 2:
- XML Store - C:\securityTestStore.xml
- IIS Security: Authenticated Only
- .net Machine.Config Process Model: SYSTEM
- Xml File Rights:
[mydomain]\[myaccount] - Full
SYSTEM - FULL
Result: Parameter is incorrect

Test 3:
- ADAM Store -
msldap://localhost/CN=AppStore,CN=Security,DC=SALKEIZ,DC=K12,DC=ORG
- IIS Security: Authenticated Only
- .net Machine.Config Process Model: SYSTEM
- Xml Store File Rights:
[mydomain]\[myaccount] - Reader, Delegated
Result: System cannot find the file specified



Relevant Pages

  • Re: Integrated authentication and IE proxy settings
    ... IE Options/Connections/LAN Settings/Proxy Server points to a specific IP ... IE Options/Advanced/Enable Integrated Windows Authentication is checked. ... I reset IE Security level to default for all zones - still prompts. ... This behavior is governed by the security settings of IE. ...
    (microsoft.public.isa.clients)
  • RE: cant open excel across a firewall withour relogin
    ... the authentication? ... > If you are using firewall software check that it can support passing the ... Also you can check the IE security ... it’s at the bottom of the IE security settings windows). ...
    (microsoft.public.sharepoint.portalserver.development)
  • AzMan and ASP.NETas
    ... I'm having difficulty with security settings when doing the ... Web.Config Authentication Mode: Windows ... IIS WebSite Security: Authenticated ... XML Store - C:\securityTestStore.xml ...
    (microsoft.public.windows.server.security)
  • Re: Authenticated users cant access domain resources...
    ... Just for fun, check in the IE settings, for relevant security zone (and is ... automatic authentication ... Microsoft MVP (Windows Security) ...
    (microsoft.public.windows.server.security)
  • Solaris Security Summary
    ... Administering Security on the Solaris OE ... Configuration control, facility management, and system ... Authentication: The ability to prove who you are. ...
    (comp.unix.solaris)