Re: Intranet app via remote location (Internet)
- From: "Joe Kaplan" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 10 Apr 2008 15:03:34 -0500
How do you want the auth to be done? Your basic options are Windows auth or
Forms auth. Making Windows auth work outside the firewall can be a
challenge as Kerberos requires access to a domain controller and NTLM can be
hard to get working well across firewalls and load balancers (although it
can work). Basic auth actually works fine but requires SSL for security and
won't provide SSO (although maybe you aren't expecting that for the
internet-based users).
All of those options assume the server is domain joined so that it can
authenticate these users.
To use forms auth, you would probably want to use the Active Directory
membership provider. Perhaps since you have custom roles in SQL you would
want to implement a custom SQL-based role provider. You might want to do
that regardless of whether you use Windows auth or Forms auth.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services Programming"
http://www.directoryprogramming.net
--
"Troy S." <Troy S.@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:1304088C-1CA6-407A-A334-1EBC733A0FFE@xxxxxxxxxxxxxxxx
Hello all. I am developing a 2.0 web site whereby the client wants to
give
access to everyone in their company's domain (I assume that means Active
Directory). The site will be accessed from the Internet (outside the
company' intranet). Once logged in, I will grab the authenticated user's
identity and search SQL tables for their app-specific rights. I have
wrestled with the proper settings to enable this functionality but have
yet
to stumble upon the correct solution.
I would think Allow Anonymous Access would be turned off via IIS and
web.config would have something similar to the folllowing in it:
<authentication mode="Windows"/>
<identity impersonate="true"/>
<authorization>
<allow roles="app-specific-role-name" />
<deny users="*" />
</authorization>
I'd greatly appreciate any insight you have or even links to proper
resources. Take care.
Troy
.
- Follow-Ups:
- Re: Intranet app via remote location (Internet)
- From: Troy S.
- Re: Intranet app via remote location (Internet)
- References:
- Intranet app via remote location (Internet)
- From: Troy S.
- Intranet app via remote location (Internet)
- Prev by Date: PerformanceCounterCategory.Create() takes 3 minutes to add a new category!! How come? What can cause this?
- Next by Date: Re: Intranet app via remote location (Internet)
- Previous by thread: Intranet app via remote location (Internet)
- Next by thread: Re: Intranet app via remote location (Internet)
- Index(es):
Relevant Pages
|