Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8308031
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T18:40:38+00:00 2026-06-08T18:40:38+00:00

please help me I’m working on an asp.net application have a main site and

  • 0

please help me
I’m working on an asp.net application have a main site and sub sites like this :

site.com/parent

site.com/parent/child1

site.com/parent/child2

Any page on parent site can access to child1 and child2 files and copy, delete them

but the problem is : child1 also can access to child2 files and copy, delete them !

I want to prevent child1 site to access to child2 files

I am using asp.net and IIS 7.5

please help !

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T18:40:39+00:00Added an answer on June 8, 2026 at 6:40 pm

    Setup the sites with different security then block access to the folders. This will depend on what type of authentication you are currently using but let us assume it is anonymous access.

    Assuming child1 and child2 are virtual directories:

    Create a user that you will assign to child1 and a different user you will assign to child2.

    In IIS, go to child1 >> Authentication. Edit Anonymous >> change to the user for child1.

    Go to child2 >> Authentication. Edit Anonymous >> change to the user for child2.

    If you are not using anonymous access you could do something similar as above for the authentication type you are using. (and don’t forget about your database if you are using SSPI)

    Go to the files and/or folders for child1 and change the ACL to block child2 user. Go to the files and/or folders for child2 and change the ACL to block child1 user.

    Edit:

    Also remember to change the ACLs to allow the appropriate user on the files/folder. So for the file/folders for child1 add allow read, write to child1 user, and so on.

    If you are on shared hosting I hope they will allow you to change files security.

    You can also configure the authentication properties in the web.config. For example, for anonymous authentication:

    http://msdn.microsoft.com/en-us/library/ms689465%28v=vs.90%29.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

please help me with asp.net MVC 2 application. I have class: public class Account
Please help me, or show me direction. I have been searching net for this
Please help me to solve this error. Till this morning my application was working
please help me arrange these 3 buttons horizontally like this photoshopped image: Please take
Please Help me to do this first i have this div <div class=loader alt=stat.php>
Please help me understand the meaning of this code. I have seen this kind
please help, I have WindowsXP, I have downloaded 3.1.18 bjam from https://sourceforge.net/projects/boost/files/boost-jam/ as it
please help me understand this. You have a function that calls a few methods:
Please help me on this problem. I have 2 identical tables, one is timetable
please help me out from this I have created a database in Blackberry phone

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.