DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 22 Jul 2007 22:45:32 -0400,    posted on: microsoft.public.dotnet.framework.aspnet.security        back       

Thread Index
  1    VT


IWA and Anonymous Access   
Hello ,
I am trying to solve pretty straight forward and typical task and yet have
difficulties. Can someone help ? I cannot believe this has not been solved
by someone already.

I have simple ASP.NET intranet app which is supposed to record user's
windows username into the SQL database.

Database administrators granted permissions to single dedicated windows
account to read/write the db and enforced the rule that only windows
authentication to SQL db is allowed.

Now comes the problem:

If I enable anonymous access in IIS and put that dedicated account on, I can
read/write SQL db, but  userid  detected by my ASP code is always blank.

If I disable anonymous access, then userid is not blank, but I cannot
read/write SQL db because only dedicated account has permissions, not users
themselves.

What I really need is both: ability to programmatically detect username and
ability to use windows authentication with SQL db.

Any ideas ?

Thanks
VT
Date:Sun, 22 Jul 2007 22:45:32 -0400   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us