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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:11:29+00:00 2026-05-18T20:11:29+00:00

I have a Web Application (C# pages mixed with ASP.NET and some Javascript pages)

  • 0

I have a Web Application (C# pages mixed with ASP.NET and some Javascript pages) on a Windows 2008 Server with IIS 7.0. I have just a few users that will hit this externally (not on the server). So in order for them to get a simple Username/Password form to pop up, what must I do? Could the users Usernames and Passwords just be added to a section in the webconfig file so I could maintain it that way?

Many thanks

  • 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-18T20:11:30+00:00Added an answer on May 18, 2026 at 8:11 pm

    Assuming you’re looking for a down and dirty solution:

    1. Using Windows Authentication, you could set them each up with a local user account. That would require no coding at all, and would simply require you to disable anonymous access and enable windows auth in IIS. Then you can assign each of these local windows accounts to a special group that has access to your web app folder.

    2. Otherwise, with traditional forms authentication, you can supply hard-coded usernames and passwords in the web.config. You will then need to protect your secure pages with code-behind or by using a folder structure and defining which roles/users have access in that folder’s web.config.

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

Sidebar

Related Questions

I have a Web Application (C# pages mixed with ASP.NET and some Javascript pages)
I have an existing asp.net web application that I'm updating to include some MVC
I have built an ASP.NET MVC 3 web application (with exlusively Razor/cshtml pages) that
My web application is an Asp.Net MVC pattern. None of the .aspx pages have
I have an .Net Froms application that displays web pages through a WebBrowser control.
I have a web application developed with ASP.net and C# that is running on
I have a web application using ASP.NET 2.0 and I want to know if
I have a web application (.NET 2.0 coded in C#) that displays pages both
I have an ASP.NET Web Application that constantly monitors for new RSS Feed from
I have a web application that uses ASP.NET with InProc session handling. Normally, everything

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.