Question Folder Permissions

LUNAR

New member
Joined
May 20, 2015
Messages
1
Programming Experience
10+
The folder permissons have 'EVERYONE' set to tick on everything

Full control
Modify
Read & Execute
List Folder contents
Read

There is also [company name]/Administrators - they have the same settings as above.

There is another group for everyone [CompanyName]/[CompanyName] with same settings as above - We use this group

How can we prevent access to this folder for everyone?
The problem is in the VB.Net application, there are some forms that creates a file
in that folder and 'everyone' who logs into this application are allowed to generate a file
that is written to this folder BUT we don't want them having access to the folder to see all
the files through My Computer->Network->Folder

The software (VB.Net) actually generates files by a logged in user but they shouldn't be able to access the folder when they go to the My Computer->Network->Folder.
We need to make sure it is creating the files and can view documents within the software only.

Can you please advise what settings in the folder security should be allowed? Which settings to be denied?
Does the settings impacts on the software application that creates, deletes or view documents in that same folder?

Thank you
 

jmcilhinney

VB.NET Forum Moderator
Staff member
Joined
Aug 17, 2004
Messages
14,717
Location
Sydney, Australia
Programming Experience
10+
I've never done this myself so I can't provide details but it sounds like you may need to use impersonation in your application, having the part that saves the file at least do so as a different user that does have permission to access that folder so that you can then deny access for the original user.
 
Top Bottom