Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I was reading:

 

http://msdn.microsoft.com/msdnmag/issues/02/04/ASPSec/default.aspx

 

And it has:

If your application requires no special protection�if all of its pages can be freely browsed by anyone and none are personalized for individual users�you needn't bother with application-level security. Just grant Everyone access to the application's files and be done with it.

 

We first wanted to use Forms Authentication, them decided on Windows authentication as users dont want to keep logging in. Users can access all the pages. No restirctions. This an application for clients.

 

My question is: If users can access all pages and there's no restiction, then I dont need Windows Authentication OR any kind of authentication? Just have users double click on the link and enter the app?? Windwos Authentication is used to not only authenticate BUT also to control access to resources?

  • Administrators
Posted

When dealing with security and restricting access you have two main concepts - Authentication and Authorisation.

 

Windows Authentication and Forms Authentication are merely two ways of achieving the 1st part - authenticating a user. This is simply getting a user to prove their identity, regardless of the mechanism used the end result is the same - we know who the user is.

 

When it comes to securing the content a user needs to have been authenticated, however we then Authorise the user against particular resources and decide who can access what.

 

If you have no security as such and the site can be accessed by anyone then there is no need to implement any security.

 

If you need to track users individually e.g. for auditing purposes, but do not have any particular restrictions on what they can access then you would only need to implement some form of Authentication and only allow access to users who have authenticated; however once somebody has authenticated they can access anything on the site itself.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...