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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:53:02+00:00 2026-06-06T17:53:02+00:00

i installed php on my windows server 2008-R2 and every thing is ok about

  • 0

i installed php on my windows server 2008-R2 and every thing is ok about that on iis.
i created a web site in iis (php) and put a simple script on it.
i went to permissions of that web site and removed all permissions except administrators.
now when i open that web site in browser a login window appears and i can login with administrator user’s info.
but this way does not work for an asp.net 4.0 web application on iis and i can not remove network service permission.mean by removing that i have an error when opens that web site in browser.
i want to learn how can we show default login window for an asp.net application in two ways :

  1. change permissions
  2. by c# codes

really appreciate for viewing and attention

  • 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-06T17:53:05+00:00Added an answer on June 6, 2026 at 5:53 pm

    You cannot remove Network Service permissions from the website because this is the identity under which asp.net runs. But this shouldn’t have any impact on remote login to the website.

    The solution to making IIS authentication work nicely with asp.net depends on what kind of IIS authentication you are using…

    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/9b619620-4f88-488b-8243-e6bc7caf61ad.mspx?mfr=true

    This document has a lot of detail on how to make the various IIS authentication methods work with asp.net

    http://msdn.microsoft.com/en-us/library/ee817643.aspx

    One word of warning just in case… it sounds from above that you’re using the administrator login to secure your website. Many forms of authentication that IIS (or asp.net) implements don’t use encryption to send username/password to the server you could be broadcasting your administrator credentials to the world. You should always use an identity specific to the website and make sure that identity doesn’t have any sort of other permissions on the server.

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

Sidebar

Related Questions

Need some hint: I have installed PHP on Windows Server 2008. The phpinfo() can
So, we've got PHP 5.3.2 installed on a Windows 2008 R2 Server. PHP.ini file
Windows 2008 R2 server running PHP 5.3. I have URL Rewrite for IIS working
I have ImageMagick, IIS 6, Ghostscript, and PHP 5.3.1 installed on a Windows Server
It's been a while since I've installed PHP for Windows, but every guide I've
I recently installed PHP on IIS/Windows 7, but it isn't working. I am getting
I've installed AjaXplorer (very nice web file explorer), written in PHP, on my IIS
I installed php and mysql on a Windows 2003 server running IIS6. I uncommented
I have installed PHP using wamp server in Windows and I have give the
I am building a new Windows Server 2008 R2 server that will be running

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.