RE: Windows authentication and Role security for VS2005 website

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thanks for your followup Stephen,

Yes, since using File system security protection is separated from the
Forms based /role based security protection, when we choose to use windows
authentication, the user/roles management in ASP.NET admin console will be
disabled . We need to use Forms authentication to make it active.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| Thread-Topic: Windows authentication and Role security for VS2005 website
| thread-index: AcW+GJRldwfRgdYJQgKaXJnpKXOEmw==
| X-WBNR-Posting-Host: 86.136.66.109
| From: =?Utf-8?B?U0pI?= <sjh@xxxxxxxxxxxxx>
| References: <dgoc6u$g0e$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
<xf0nbbevFHA.768@xxxxxxxxxxxxxxxxxxxxx>
| Subject: RE: Windows authentication and Role security for VS2005 website
| Date: Tue, 20 Sep 2005 12:22:02 -0700
| Lines: 85
| Message-ID: <D7C0C963-A388-4096-A54A-CBCB464BD258@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.vsnet.general
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.vsnet.general:10515
| X-Tomcat-NG: microsoft.public.vsnet.general
|
| Steven,
|
| Thank you for your response.
|
| Protecting the web site with IIS/file system security is great from a
| security perspective. My concern was that doing this means you don't get
the
| UI updates (only available menu items are presented). However, I have
tried
| this and it seems that disabling access through the file system causes
the UI
| to update.
|
| This is exactly what I was wanting to achieve.
|
| Stephen
|
| "Steven Cheng[MSFT]" wrote:
|
| > Hi SJH,
| >
| > Welcome to MSDN newsgroup.
| > As for the authentication/authorization setting in ASP.NET 2.0 / VS.NET
| > 2005, it has been changed from the original ones in VS.NET 2003/
ASP.NET
| > 1.X. In fact, we can find it from the ASP.NET Web admin configuration
| > console, when we swtich to use local intranet security mode,(not use
| > FormsAuthentication, the users/roles management are disabled in it ,
that
| > means currently the declarative mode authorization in web.config only
| > support FormsAuthentication. Anyway, I'll ask some other ASP.NET dev
guys
| > to confirm this behavior and will update you soon.
| >
| > Thanks,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| >
| >
| > --------------------
| > | From: "SJH" <sjh@xxxxxxxxxxxxx>
| > | Newsgroups: microsoft.public.vsnet.general
| > | Subject: Windows authentication and Role security for VS2005 website
| > | Date: Tue, 20 Sep 2005 07:02:55 +0000 (UTC)
| > | Organization: BT Openworld
| > | Lines: 13
| > | Message-ID: <dgoc6u$g0e$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
| > | NNTP-Posting-Host: host86-136-66-109.range86-136.btcentralplus.com
| > | X-Trace: nwrdmz03.dmz.ncs.ea.ibs-infra.bt.com 1127199775 16398
| > 86.136.66.109 (20 Sep 2005 07:02:55 GMT)
| > | X-Complaints-To: news-complaints@xxxxxxxxxxxxxxxxxxxx
| > | NNTP-Posting-Date: Tue, 20 Sep 2005 07:02:55 +0000 (UTC)
| > | X-Priority: 3
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
| > | X-RFC2646: Format=Flowed; Original
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
| > | X-MSMail-Priority: Normal
| > | Path:
| >
TK2MSFTNGXA01.phx.gbl!TK2MSFTFEED02.phx.gbl!tornado.fastwebnet.it!tiscali!ne
| >
wsfeed1.ip.tiscali.net!border2.nntp.ams.giganews.com!nntp.giganews.com!feede
| >
r.xsnews.nl!83.128.0.11.MISMATCH!news-out1.kabelfoon.nl!newsfeed.kabelfoon.n
| >
l!xindi.nntp.kabelfoon.nl!zen.net.uk!demorgan.zen.co.uk!194.72.9.35.MISMATCH
| > !news-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail
| > | Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.vsnet.general:10506
| > | X-Tomcat-NG: microsoft.public.vsnet.general
| > |
| > | Using VS2005RC1 I'm trying to use role based security to control
access
| > to
| > | parts of a website.
| > |
| > | Forms authentication works fine, but with windows authentication the
web
| > | site administration tools does not give the option of adding windows
user
| > | accounts.
| > |
| > | I can restrict access based on the username, but cant find a way to
| > restrict
| > | access based on roles or security groups.
| > |
| > | Thank you for any assistance.
| > |
| > |
| > |
| >
| >
|

.



Relevant Pages

  • Re: How to SELECT records based upon ASP.NET Roles
    ... security principals directly. ... be able to use SQL row-level security as well (which is something I've never ... When using Windows ... authentication in IIS, this will be a WindowsPrincipal object, but it would ...
    (microsoft.public.dotnet.security)
  • Re: How to SELECT records based upon ASP.NET Roles
    ... security principals directly. ... also be able to use SQL row-level security as well (which is something ... using Windows authentication in IIS, ...
    (microsoft.public.dotnet.security)
  • RE: Combine Forms Authentication with Windows
    ... | Subject: RE: Combine Forms Authentication with Windows ... since those internal users need to call ... | | So you need integraded security, this means that the users need ...
    (microsoft.public.dotnet.general)
  • Re: Websites require a login
    ... It's *my* understanding (and I'm not a security expert) that when using ... integrated windows authentication you are using NTLM authentication or ... Windows 2000 and 2003 via Active Directory. ... That's why the server is requiring a login. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cannot open database requested in login
    ... Assuming your goal is to use windows integrated ... security then leave out the username ... ASP.NET service) as a login to SQL Server and with access to the ... >> you should see security tab, change authentication to "SQL ...
    (microsoft.public.sqlserver.security)