|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
web.config security conn-str and auth-infoHi,
I'm (still) developing a secure app. So I have a connectionstring in my web.config. That string is encrypted. So I decrypt it when I want to use it. No problem. But I also have some other info in the web.config. The app uses integrated security, and I have <allow roles> = "<some_Active_Directory_group>". This way only users I have granted membership of the Active Directory Group, can access my app. The name of the group is plain text, and if someone saw that (and they probably could, why else would I need to encrypt the ConnString in web.config), they would have a place to start their evil deed. So what do I do ? /jim In 2.0 you can transparently encrypt the config elements - in 1.1 thats not
possible as long as the config file cannot be changed, i think this is a minor threat.. --------------------------------------- Dominick Baier - DevelopMentor http://www.leastprivilege.com Show quoteHide quote > Hi, > > I'm (still) developing a secure app. So I have a connectionstring in > my > web.config. > That string is encrypted. So I decrypt it when I want to use it. No > problem. > But I also have some other info in the web.config. The app uses > integrated security, and I have <allow roles> = > "<some_Active_Directory_group>". This way only users I have granted > membership of the Active Directory Group, can access my app. > > The name of the group is plain text, and if someone saw that (and they > probably could, why else would I need to encrypt the ConnString in > web.config), they would have a place to start their evil deed. > > So what do I do ? > > /jim >
Problem with RSA.ImportParameters() under ASP .NET
Issues With User Control Embedded Into Web Page Since Installing .NET 2.0 CryptoAPI moving .net containers Encyption Translate BUILTIN to domain name NEED Solution for .NET 2.0 mscorcfg.msc w/o SDK impersonation in vb.net Caspol - Normal User Blocking hyperlink access to 'secured' website |
|||||||||||||||||||||||