Restrict users from nextcloud Android application


hello friend , i dont want my user connect to my cloud , with nextcloud android application , how can i configure Webdav to restrict theme?


i solved it myself,thank everyone


Can you share the solution for the community?


i have set an header on android application , then create an app on owncloud with prelogin hook. i get all headers , if my header is in the list, return true , if not , logout user.