Solved

How to create a page with integrated security !

Posted on 2007-11-20
1
144 Views
Last Modified: 2013-12-17
Hi,

I am trying to create a ASP.NET page using C# with the integrated security, which can be accessed by only admin account and one other user account.
So how can i achieve this for my page.
Thank you.
0
Comment
Question by:srini4595
1 Comment
 
LVL 23

Accepted Solution

by:
Jens Fiederer earned 125 total points
ID: 20322887
To use integrated security, you must turn OFF anonymous access in IIS (and CHECK Integrated Windows security).

Then in your page load event, check the value of User.Identity.Name - if it is not one of the approved accounts, redirect to an error page.
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

It seems a simple enough task, yet I see repeated questions asking how to do it: how to pass data between two forms. In this article, I will show you the different mechanisms available for you to do just that. This article is directed towards the .N…
In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now