Quantcast
Channel: NetSqlAzMan - .NET SQL Authorization Manager
Viewing all articles
Browse latest Browse all 163

New Post: Why does WCF Service distinguish DBUser and Windows User ssid?

$
0
0
Hi,

I want to check access for users defined only in the database ("dbUsers") and Windows users (by "domainname\username", not current windows identity). I obtain the ssids via GetDBUser and NTAccount.Translate.
This works well with storage cache, but now I'm trying to use the WCF cache service and it doesn't work the same way. I am forced to distinguish between dbUser-ssid and windows-user-ssid due to the CheckAccessForXXXUser-functions. I get no positive check access for windows users if I use the windows ssid in th CheckAccessForDbUsers-functions nor when I use the CheckAccessFowWindows-functions, I guess it's because of the null or empty groupsSSid parameter.
I am probably missing some basic concept here but I don't understand why the WCF-service doesn't expose the same behaviour as the storage api (for readonly access).

Can somebody explain how to use the WCF Cache Service for "transparent" ssid's as described above?

Thanks a lot,

Deacon

Viewing all articles
Browse latest Browse all 163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>