简体   繁体   中英

Querying local Active Directory from Blazor client side module?

I have existing .NET code that queries Active Directory once downloaded and running the .exe on a domain connected computer.

Could my .exe now run as a DDL in the Blazor browser (client-module) against the local domain and avoiding the downloading & running the .exe?

I know the sandboxed environment prevents native file system access, but would it prevent LDAP queries running?

The standard answer is no .

Blazor-in-the-Browser is held to the same limitations as JavaScript.
It's not a technical problem but a security issue.

You can of course use Blazor-on-the-Server, as long as that server has access to your AD.

Your users (on an intranet with good connections) won't notice the difference.

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