authorization for sub directory

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

  1. #1

    Default authorization for sub directory

    Hi All,
    Could anybody advise me for the following..
    I want to restrict access to a subdirectory in an web application
    which has "integrated windows authentication". I have set the
    directory security for the sub directory for a particular group. But
    when the link goes to the page in the sub directory it asks for the
    credentials again. I want to redirect to "not accessible" page
    whenever any page in the subdirecotry is accessed by other groups.

    Thanks in advance,
    Viki
    viki Guest

  2. Similar Questions and Discussions

    1. Active Directory Authorization Store question
      I'm using Authorization and Profile block in my middle tier (.NET Remoting hosted under IIS) for role-based application security. It's all good when...
    2. URL Authorization
      Hi All, I am trying to write several applications, for external users. They will use forms authentication to login. My question concerns url...
    3. Active Directory Search fails ("The directory service is unavailab
      Hi all, I'm having one of those nerve wrecking errors, when trying to perform a simple search in an Active Directory. The objective of the code...
    4. Server cannot access application directory ... The directory does not exist or is not accessible because of security settings
      If you are using Windows XP in a Workgroup, rather than a Domain, then by default "Simple Filesharing" is turned on, and you won't see a security...
    5. Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
      Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading...
  3. #2

    Default Re: authorization for sub directory

    You will need to override the 401 error status that ASP.NET is sending back,
    and send back 200 instead (along with your custom text). When the webserver
    sends a HTTP 401 status, the browser decides what to do, and most will
    pop-up an authentication dialogue box (for the first three times - after
    that they will display a message saying that you are not authorised to view
    the page)

    Cheers
    Ken

    "viki" <freetorn2002@yahoo.ca> wrote in message
    news:deb17ac9.0411211801.211adc1@posting.google.co m...
    > Hi All,
    > Could anybody advise me for the following..
    > I want to restrict access to a subdirectory in an web application
    > which has "integrated windows authentication". I have set the
    > directory security for the sub directory for a particular group. But
    > when the link goes to the page in the sub directory it asks for the
    > credentials again. I want to redirect to "not accessible" page
    > whenever any page in the subdirecotry is accessed by other groups.
    >
    > Thanks in advance,
    > Viki

    Ken Schaefer 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