Share via

Network Server Security

Ernest Diamond 1 Reputation point
2022-09-20T21:37:19.927+00:00

Dear Friends,

Please I have a windows server 2019 Standard and I shared files which others can access through the network but I want this server to always ask for credentials each time anyone wants to access the shared file, please how do I do this?

I want this done because in the shared folder are software and application's that only an I.T personnel is required to install from it, so no user can just go there to copy or paste anything there.

Windows for business | Windows Server | Devices and deployment | Configure application groups

2 answers

Sort by: Most helpful
  1. Limitless Technology 45,241 Reputation points
    2022-09-21T09:41:27.247+00:00

    Hello there,

    You could use a script that would remove all of the connections for a resource, and then prompt you for credentials to remap it, if you wanted to.

    The drawback with the other approach of mapping it via the command line (when run as a different user) means you can't use Windows Explorer to navigate it.

    The biggest problem you will have here is that you can't have muliple connections to one resource by multiple user accounts.

    So say you can access \server\share1\myfolder as domain\user1, you cannot map a drive or add other credentials to that resource to access \server\share1\myfolder\secure as domain\user2

    -----------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--

    Was this answer helpful?

    0 comments No comments

  2. Vadims Podāns 9,266 Reputation points MVP
    2022-09-21T08:36:37.727+00:00

    Why you ever want this? I strongly believe that you are trying to solve an XY problem.

    Current authenticated user credentials are used to authenticate on a shared folder. Since user is already logged in to their workstation, then user already knows the password. Asking for same password is pointless from security perspective, it doesn't solve any problem.

    If you want to restrict who can access (and access level) shared resource -- use shared folder and NTFS permissions.

    Was this answer helpful?


Your answer

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