IIS ASP.NET configuration

I just found that we can see the database connection string in plain text
via the IIS ASP.NET configuration even the connection string is encrypted in
web.config file. Is this a security hole?
Ricky Chan [ Di, 01 April 2008 07:31 ] [ ID #1932961 ]

Re: IIS ASP.NET configuration

On Mar 31, 10:31=A0pm, "Ricky Chan" <ricky.chan.n... [at] live.com> wrote:
> I just found that we can see the database connection string in plain text
> via the IIS ASP.NET configuration even the connection string is encrypted =
in
> web.config file. Is this a security hole?


No, it is not a security hole.

web.config encryption is meant as a defense against someone stealing
the web.config file.

The encryption is not meant as a way to secure a string such that only
IIS can read it and bypassing the application layer in the middle.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
David Wang [ Di, 01 April 2008 15:11 ] [ ID #1932963 ]

Re: IIS ASP.NET configuration

Is there any way to block someone who acts as a system administrator role
but not allowed to read the configuration in config file?



"David Wang" <w3.4you [at] gmail.com> wrote in message
news:75c4be79-0c80-4709-98e3-1b5adad5f4a4 [at] c19g2000prf.google groups.com...
> On Mar 31, 10:31 pm, "Ricky Chan" <ricky.chan.n... [at] live.com> wrote:
>> I just found that we can see the database connection string in plain text
>> via the IIS ASP.NET configuration even the connection string is encrypted
>> in
>> web.config file. Is this a security hole?
>
>
> No, it is not a security hole.
>
> web.config encryption is meant as a defense against someone stealing
> the web.config file.
>
> The encryption is not meant as a way to secure a string such that only
> IIS can read it and bypassing the application layer in the middle.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
Ricky Chan [ Mi, 02 April 2008 03:23 ] [ ID #1933943 ]

Re: IIS ASP.NET configuration

Not really. You have conflicting role and behavior expectations. You
will have to reconcile them.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//


On Apr 1, 6:23=A0pm, "Ricky Chan" <ricky.chan.n... [at] live.com> wrote:
> Is there any way to block someone who acts as a system administrator role
> but not allowed to read the configuration in config file?
>
> "David Wang" <w3.4... [at] gmail.com> wrote in message
>
> news:75c4be79-0c80-4709-98e3-1b5adad5f4a4 [at] c19g2000prf.google groups.com...
>
>
>
> > On Mar 31, 10:31 pm, "Ricky Chan" <ricky.chan.n... [at] live.com> wrote:
> >> I just found that we can see the database connection string in plain te=
xt
> >> via the IIS ASP.NET configuration even the connection string is encrypt=
ed
> >> in
> >> web.config file. Is this a security hole?
>
> > No, it is not a security hole.
>
> > web.config encryption is meant as a defense against someone stealing
> > the web.config file.
>
> > The encryption is not meant as a way to secure a string such that only
> > IIS can read it and bypassing the application layer in the middle.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //- Hide quoted text -
>
> - Show quoted text -
David Wang [ Fr, 04 April 2008 10:04 ] [ ID #1935622 ]
Webserver » microsoft.public.inetserver.iis.security » IIS ASP.NET configuration

Vorheriges Thema: Second login
Nächstes Thema: Any way to display a "bad password entered" message at https logon