Ask a Question related to ASP.NET Security, Design and Development.
-
Richard #1
ASP.Net Security and SQL Server access
Can someone tell me the best security configuration for an intranet site.
I want to use Window accounts (groups) to control access to the Web site and
the access to a SQL Server database on a different server.
Does the web.config file override the IIS MMC security settings ?
Cheers
Richard Guest
-
Server cannot access application directory ... The directory does not exist or is not accessible because of security settings
If you are using Windows XP in a Workgroup, rather than a Domain, then by default "Simple Filesharing" is turned on, and you won't see a security... -
Server cannot access application directory... The directory does not exist or is not accessible because of security settings.
Hi, I have this issue with the error below. Let me explain my goal and my server environement: Goal: To have 3 separate web servers reading... -
Security Access
In AIX, can I have a root access with READ ONLY? If yes, how to set it up (rwx)? -
access to sql server from shared folder security error
hi all i generated windows application by vb.net file that connect to sql server . when copy exe file to shared folder and after run it... -
Access Security
I have heard somewhere that there is a tool available that allows the use of the shift key bypass to be "switched" on and off? Can anyone help me... -
Chris Jackson #2
Re: ASP.Net Security and SQL Server access
Your IIS application runs under one identity. This is configured in the IIS
settings.
ASP.NET runs under another identity, which you can configure in the
machine.config. (By default, it's MACHINE\ASPNET.)
If you want ASP.NET to use the Windows identity of the IIS application
(which can be the authenticated user) then make sure your web.config has
<identity impersonate="true">
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
--
"Richard" <ricwatts@cisco.com> wrote in message
news:eoey3e4SDHA.632@TK2MSFTNGP12.phx.gbl...and> Can someone tell me the best security configuration for an intranet site.
>
> I want to use Window accounts (groups) to control access to the Web site> the access to a SQL Server database on a different server.
>
> Does the web.config file override the IIS MMC security settings ?
>
> Cheers
>
>
>
>
Chris Jackson Guest
-
Chris Jackson #3
Re: ASP.Net Security and SQL Server access
Under what credentials is your aspnet_wp.exe running? (You can check this
under the task manager.) Have you set up impersonation?
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows XP
Windows XP Associate Expert
--
"Richard" <ricwatts@cisco.com> wrote in message
news:OPHK5PJTDHA.2252@TK2MSFTNGP12.phx.gbl...with> Thanks Chris,
>
> i have the web.config file set up for windows integrated authenticationthe> authorisation on a group set up on the web server. That goes well.
>
> I chek the user and display on the page - so i know which account it is
> running in.
>
> I have calls to a SQL server with a different group (but still windows
> accounts) set up for access to a table i want to update etc
>
> Calls to this db do not work, with integrated scurity - but if i use a
> specific user in the connection string it does work and i gain access tosite> db.
>
> Is there somethingelse I need to configure?
>
> Regards,
> Richard
>
> "Chris Jackson" <chrisj@mvps.org> wrote in message
> news:e2H1a#ITDHA.1552@TK2MSFTNGP12.phx.gbl...> IIS> > Your IIS application runs under one identity. This is configured in the> site.> > settings.
> >
> > ASP.NET runs under another identity, which you can configure in the
> > machine.config. (By default, it's MACHINE\ASPNET.)
> >
> > If you want ASP.NET to use the Windows identity of the IIS application
> > (which can be the authenticated user) then make sure your web.config has
> > <identity impersonate="true">
> >
> > --
> > Chris Jackson
> > Software Engineer
> > Microsoft MVP - Windows XP
> > Windows XP Associate Expert
> > --
> > "Richard" <ricwatts@cisco.com> wrote in message
> > news:eoey3e4SDHA.632@TK2MSFTNGP12.phx.gbl...> > > Can someone tell me the best security configuration for an intranet> > >
> > > I want to use Window accounts (groups) to control access to the Web>> > and> >> > > the access to a SQL Server database on a different server.
> > >
> > > Does the web.config file override the IIS MMC security settings ?
> > >
> > > Cheers
> > >
> > >
> > >
> > >
> >
>
Chris Jackson Guest



Reply With Quote

