Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Security mode="None

Tags:

security

wcf

I have some collegues who have build a WCF Service. Their security settings are the following:

security mode="None"
   transport clientCredentialType="Windows" proxyCredentialType="None" realm=""
   message clientCredentialType="Windows" negotiateServiceCredential="true"   
       establishSecurityContext="true" 
security

Does it makes sense to specify the security mode="None" and then specify transport/message security underneath?

like image 230
Patrick Avatar asked Feb 04 '26 13:02

Patrick


2 Answers

This is just basically NO SECURITY at all - that doesn't make any sense at all - except for maybe development time :-)

If you have <security mode="None"> then anything you specify below is not taken into account - you could leave that out just as well.

like image 186
marc_s Avatar answered Feb 12 '26 19:02

marc_s


It does no harm, the mode="None" value means none of the individual settings for either message or transport will be used.

like image 32
blowdart Avatar answered Feb 12 '26 20:02

blowdart



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!