Link to home
Start Free TrialLog in
Avatar of mileyja
mileyja

asked on

set application folder permissions on vb.net 2005 WINDOWS app

I install a program as either a domain admin or a local admin and i want my domain users to be able to write to the application folder installed on their local machines.  How is this accomplished?
Avatar of strickdd
strickdd
Flag of United States of America image

You have to either give each individual user in the domain rights to the folder through the "Security" tab in the folder properties, or find a group that contains all the users and give that group access. You will, i believe, have to do the same with the "Sharing" tab.
Currently your application doesnt let you write to your application folder?
If you want to let everyone to use the application programatically, you might want to use the Directory class of .net and its Access Control List property to give permissions for all network users or everyone
Avatar of mileyja
mileyja

ASKER

hmm, we can walk around to every machine I suppose, I am not sure what would be best.  They can execute, but they cannot modify or write to the application directory, only the admin, unless we walk around to the installed machines and add the domain user group to the permissions list and give them permissions on every installed computer :(

I was hoping I could somehow set the permissions for the application path through the setup project somehow through the IDE
1. Can you try setting the application's trust?
2. Currently the application is not able able to access the application folder??
Have you tried choosing "Everyone" when installing the application instead of "Just Me"
Avatar of mileyja

ASKER

Yes we install it using "Everyone" and the application can access the application folder.  It just cant modify it.  I can read and execute from the folder, just not modify or write.  
Can you try setting the application's trust to a full trust application?
Avatar of mileyja

ASKER

I don't have the authority to do that since I myself am not an admin.  Just a lowly developer, the only one in the company actually.  

I am using the publish function of vs.2005 that to push it out to a folder and do auto updating.  The particular share has a permission set that allows write privileges by everyone on the domain
ASKER CERTIFIED SOLUTION
Avatar of surajguptha
surajguptha
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>> The particular share has a permission set that allows write privileges by everyone on the domain

Does your application write to a share?