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 6079501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:57:13+00:00 2026-05-23T10:57:13+00:00

In my website, the Web.config is as follows: <system.web> <compilation debug=true targetFramework=4.0> <assemblies> <add

  • 0

In my website, the Web.config is as follows:

 <system.web>
       <compilation debug="true" targetFramework="4.0">
         <assemblies>
            <add ..../>
         </assemblies>
       </compilation>
     <authentication mode="Forms">
       <forms loginUrl="Login.aspx"></forms>
     </authentication>
     <authorization>
      <allow users="admin" />
      <deny users="?" />
     </authorization>
    </system.web>

I’ve tried to design the login page but it seems like whatever I do it doesn’t appear, and after looking for a solution I’e found this:

“i guess i got it. since you are
denying other pages in web config
unless user authenticated. Allow image
folder also in web config file like
you are allowing login page,similarly
allow image folder,css,javascript
folder etc. Image should show up in
page. It should work.”

The problem is I don’t know how to allow these folders, can anyone 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-05-23T10:57:14+00:00Added an answer on May 23, 2026 at 10:57 am

    Refering to location Element (ASP.NET Settings Schema):

    The location element specifies the
    resource that child configuration
    settings apply to and is also used to
    lock configuration settings,
    preventing the settings from being
    overridden by child configuration
    files.

    The location element can enclose other
    elements, either to apply
    configuration settings to a specific
    resource or to lock the settings.

    <configuration>
       <location path="Images">
          <system.web>
             <authorization>
                <allow users="?"/>
             </authorization>
          </system.web>
       </location>
    </configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my web.config I have this authentication setting: <authentication mode=Forms> <forms loginUrl=login.aspx name=signin path=/
I have a website that uses basic ASP.Net forms authentication. In the web.config file
What is the minimum I need to add to a .NET 2.0 WebSite's web.config
I use ASP.NET website on IIS7 where in web.config I have: <sessionState mode=InProc timeout=20></sessionState>
Web.Config? Website properties? I'm looking for suggestions/best practices with reasons you recommend them.
Within the web.config file i have the following, regarding encoding info, since the website
I would like to use web.config transformation but do not see the Add Config
I have an ASP.Net web site (ASPX and ASMX pages) with a single web.config
Is there any difference between website and web application project? What if you are
Basically I am creating a database driven website in Web Developer 2008. The database

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.