Maui app in window running on mac

Dani_S 3,786 Reputation points
2023-09-15T00:11:31.88+00:00

hi,

I have maui app run on windows.

it has these feature.

  1. it block the access to cd-rome and usb to insert files from outside to computer

using impersonation.

  1. implementing safe bit locker with impersonation.
  2. implementing safe use of usb with impersonation.
  3. implementing safe burning of cd-rome with impersonation.

what is the best way to implement it in maui? any alternative?

thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,594 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 66,706 Reputation points
    2023-09-18T15:55:55.76+00:00

    You have several issues:

    • safe bit locker is windows only feature
    • not sure what your use case of impersonation, but its not a Unix/Mac feature. maybe superuser would work
    • on Unix/Mac, there is one filesystem. usb and cd drives mount into it. you could change the permissions
    • Maui apps for Mac are built as Catalyst Apps. They run in a sandbox and do not have access to usb/cd/dvd drives or superuser.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.