Professional Web Applications Themes

AzMan and ASP.Net - ASP.NET Security

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. ...

  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. #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.576TK2MSFTNGP15.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

Similar Threads

  1. Problem using AzMan url Authorization and HttpHandler
    By Renzo in forum ASP.NET Security
    Replies: 0
    Last Post: March 25th, 08:47 AM
  2. Problem when executing SQL script from AzMan BizRule
    By Sebastian Torres in forum ASP.NET Security
    Replies: 0
    Last Post: February 9th, 07:08 PM
  3. Problem when executing SQL script from AzMan BizRule.
    By Storrear in forum ASP.NET Security
    Replies: 0
    Last Post: February 9th, 06:07 PM
  4. Replies: 2
    Last Post: December 3rd, 05:09 PM
  5. Using AZman with ASP.NET
    By John Morrill in forum ASP.NET Security
    Replies: 0
    Last Post: May 25th, 11:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not 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