Ask a Question related to ASP.NET Security, Design and Development.

  1. #1

    Default AzMan and ASP.Net

    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



    andy miller Guest

  2. Similar Questions and Discussions

    1. Problem using AzMan url Authorization and HttpHandler
      Hi, I Have a web application that uses IIS 6.0 URL Authorization and AzMan to control access to URLs based on custom user roles. In some pages...
    2. Problem when executing SQL script from AzMan BizRule
      Hello. I'm investigating Authorization Manager (AzMan) and I have a problem with SQL 2000. I try to execute a stored procedure from BizRule, but...
    3. Problem when executing SQL script from AzMan BizRule.
      Hello. I'm investigating Authorization Manager (AzMan) and I have a problem with SQL 2000. I try to execute a stored procedure from BizRule, but...
    4. AzMan IAzApplication InitializeClientContextFromStringSid method
      Hello This method has a hande leak. When submited to a load test the handles rise to 50000 and the application sends an exception "Insufficient...
    5. Using AZman with ASP.NET
      Greetings I am designing an Application Security system for an ASP.NET application using Azman. Questions: What is the performance impact of...
  3. #2

    Default AzMan and ASP.Net

    at least with the xml store - you prolly have to adjust the READER or ADMIN role -

    go to azman.msc -> store properties -> security



    ---
    Dominick Baier - DevelopMentor
    [url]http://www.leastprivilege.com[/url]

    nntp://news.microsoft.com/microsoft.public.dotnet.framework.aspnet.security/<uVbK2UoKFHA.576@TK2MSFTNGP15.phx.gbl>

    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




    [microsoft.public.dotnet.framework.aspnet.security]
    Dominick Baier [DevelopMentor] Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139