Is web.config more secure than a class?

Posted by o-logn on Stack Overflow See other posts from Stack Overflow or by o-logn
Published on 2010-04-16T17:45:25Z Indexed on 2010/04/16 17:53 UTC
Read the original article Hit count: 249

Filed under:
|
|
|
|

I was reading a tutorial on ASP.NET and third party API's and it mentioned that the API KEY and SECRET KEY should be stored in the web.config file, for security on production servers, instead of in the classes that use them. However, I'm not quite sure what's more secure about a web.config file than a class? I understand the convenience of storing it in a config file, but I don't see the security benefit?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#