is there a way to authenticate user credentials for specific operations
-
יום ראשון 29 אפריל 2012 22:50i got some operations in my service which i need to be exclusive for specific clients
is there a way using user name authentication to validate that a user is authorized to usean operation .alternatively i could separate the operations to another service , but i wan't them to be kept in the same one to save the effort of creating tow proxies and different end points .for each service .
כל התגובות
-
יום שלישי 01 מאי 2012 12:58בעלים
hi,
for the next time, please be notice that its a Hebrew forum and the questions should be asked in Hebrew
thanks
מיקרוסופט מציעה שירות זה ללא תשלום, למטרת סיוע למשתמשים והעשרת הידע הקשור בטכנולוגיות ובמוצרים של מיקרוסופט. תוכן זה מתפרסם כפי שהוא והוא אינו מעיד על כל אחריות מצד מיקרוסופט.
-
יום שלישי 01 מאי 2012 13:34מנחה דיון
בעקרון זה תלוי מה סוג ה-authentication שאתה עובד איתו.
אם מדובר ב-windows authentication או username, ניתן להשתמש עם PrincipalPermissionAttribute על המתודה ולציין את שמות המשתמשים המורשים.
זה לגבי WCF. אם השאלה היא לגבי web service, אנא החזר תשובה שלמעשה התכוונת לשאול על web services
Please mark posts as answers/helpful if it answers your question.
Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
Visit my blog: http://blogs.microsoft.co.il/blogs/idof- סומן כתשובה על-ידי Eran SharvitMicrosoft Contingent Staff, Owner יום שני 07 מאי 2012 08:55
-
שבת 05 מאי 2012 17:32מנחה דיון
הי ערן,
האם הצלחת למצוא פתרון לבעייתך? אם כן, נשמח לשמוע מה היה, אם לא, נשמח לקבל תיאור של הבעיה וננסה לעזור.
הנהלת הפורומים.
Please mark posts as answers/helpful if it answers your question.
Senior Consultant on WCF, ASP.NET, Siverlight, and Entity Framework. Author of Microsoft's Official WCF 4 Course. Co-author of the Microsoft HPC/Azure burst whitepaper.
Visit my blog: http://blogs.microsoft.co.il/blogs/idof