简体   繁体   中英

How to make web services secure in asp.net both the asmx and on WCF

How to make web services secure in asp.net both the asmx and on WCF. Currently we have web services and now are in process of converting them to WCF in some modules in our application. Now as upgradation is in process we like to incorporate security on the web services as we intend to open some of them to all our clients via web (they contain both asmx and WCF as well). Tnanks in advance

It's not a quick and simple answer, I'd recommend reading through the following CodePlex links for WCF Security Guidance:

WCF Security & WCF Security Guidance .

The site provides step by step checklists for different scenarios, one of which you should be able to relate to your scenario. Different scenarios and security setups are provided for intranet/Internet scenarios with authentication mechanisms including: None, Basic, NTLM, Windows, Certificates, Username, Tokens. Autorization options include: Role based, Identity based and Resource based. (See chapter 5)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM