Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Login Security for Intranet/Internet application

Reply
Thread Tools

Login Security for Intranet/Internet application

 
 
GSwan
Guest
Posts: n/a
 
      04-18-2007
Hi All,

I'm really no expert whatsoever when it comes to security in dotnet and have
a question about setting up login security to a web application we are
building.

The application will be accessible to mainly users within the company but
there are also a couple of users that access the system externally and are
not on the network.

I'd like to be able to use the active directory as the main means of logging
into the system but i also need to ensure users not on the active directory
can login too. Once logged in i need specific users to be members of specific
roles to allow them access to various features in the application.

Please could someone provide me with ideas on how best to do this. All help
is greatly appreciated.

Many thanks in advance,

Grant
 
Reply With Quote
 
 
 
 
Joe Kaplan
Guest
Posts: n/a
 
      04-18-2007
You are building what is often called an "extranet" scenario from the
identity perspective. There are a bunch of different ways to build these
types of things and a lot of the decisions depend on your specific
requirements. It is a pretty big topic and probably too broad to fit nicely
into a newsgroup post, but here are some high level thoughts:

- You need to decide where the external identities will be stored and how
they will be provisioned. For example, if you can provision them in your
internal AD in a secure way, then this type of app isn't very different from
a standard intranet app. If you need an alternate identity store, then the
integration is potentially more complicated.
- Typically, for extranet scenarios you need to provide forms-based login
or HTTP Basic authentication with SSL, as you need a logon method that
supports plaintext credentials and works over the public internet securely.
However, you may also want to support IWA authentication for internal users,
which means you may need multiple authentication methods to the application.
- The design of the application itself may drive some of your other
decisions. For example, if the application depends on Windows security
(uses Windows security tokens for authentication/authorization), then you
need a way to get a Windows security context for your external users. This
is harder to do with forms-based authentication and complicates things for
you. Some app platforms make specific assumptions about how identity is
integrated and may complicate your decision (SharePoint V1 and V2 require
Windows identities for example).

Microsoft's ADFS (Active Directory Federation Services) provides a nice
platform for building these types of apps. ADFS allows you to integrate
identities from multiple identity stores and different organizations and
build robust ASP.NET apps on top of that with a fair amount of flexibility.
It can support all of the points I discussed above. However, it isn't
necessarily an easy thing to get up and running. It does give you a
strategic platform that you can use to host additional services on top of
though, so it may be worth looking at if you think you might do these types
of things in the future.

Best of luck!

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
--
"GSwan" <> wrote in message
news:6597134B-13B2-4C93-B6C3-...
> Hi All,
>
> I'm really no expert whatsoever when it comes to security in dotnet and
> have
> a question about setting up login security to a web application we are
> building.
>
> The application will be accessible to mainly users within the company but
> there are also a couple of users that access the system externally and are
> not on the network.
>
> I'd like to be able to use the active directory as the main means of
> logging
> into the system but i also need to ensure users not on the active
> directory
> can login too. Once logged in i need specific users to be members of
> specific
> roles to allow them access to various features in the application.
>
> Please could someone provide me with ideas on how best to do this. All
> help
> is greatly appreciated.
>
> Many thanks in advance,
>
> Grant



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Going from anonymous security to Windows Security in an ASP.NET application Michael Randrup ASP .Net Security 3 03-27-2006 09:18 PM
News login different from mail login William W. Plummer Firefox 21 04-08-2005 05:37 AM
Design Issue: Separating Application Security Model from the Application (Custom or User) Controls Earl Teigrob ASP .Net 3 06-10-2004 01:56 AM
IT-Security, Security, e-security COMSOLIT Messmer Computer Support 0 09-05-2003 08:34 AM
Re: PLEASE? Any way to get the user's nt login from the pc -- not the server login? William F. Robertson, Jr. ASP .Net 0 07-02-2003 03:57 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57