Author: guenavan | Posted on: 11/22/2009 12:11:19 PM | Views : 246

Migt be stupid question,
might be not.
Is it possible to achieve programmatically
the same effects as from having certain
authentication/authorization statements in web.config
but really not having those lines physically stored?

For ex., suppose I want to have the same overall result as from 
<authentication mode="Forms"> <forms> <credentials passwordFormat="Clear"> <user name="webuser" password="webuserpassword"/> </credentials> </forms> </authentication> but really having in web.config 

<authentication mode="Forms"/>This would open various possibilities and flexibilities.... ...

Go to the complete details ...