Microsoft
Software
Hardware
Network
Question : How to restrict access in asp.net so that window prompt comes up
I want simple htaccess like user name password prompt. I'm on shared hosting. So don't have window access.
It's just to restrict access to staging site, so i dont really want to touch the main code of the website. Just add a username and password to the web.config.
Answer : How to restrict access in asp.net so that window prompt comes up
In your web.config change the authentication mode to
Or, just remove anonymous access in IIS and then you can control it using windows users and standard file permissions.
Random Solutions
Unable to open SQL Server database file (.mdf)
Home network - pc keeps losing internet connection
Explorer.exe breadcrumbs control( How do I get the windows handle?)
VBA Inconsistent results using Application.CountA
ODBC Microsoft Access Driver Login Failed
storing jpg and retrieving on forms
Problem with Microsoft Rich textbox control 6.0 (SP4)
Format an amount without the decimal point
Installing 'Compatibility Files' in Vista and Windows 7
How do I display the variable in Message Window of Query Analyzer?