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?
mileyjaAsked:
Who is Participating?
 
surajgupthaCommented:
Well in the setup of the application, if it is classified as a full trust application, would allow writes to the files. So when an admin installs it for everyone, it should be able to write to files.
0
 
strickddCommented:
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.
0
 
surajgupthaCommented:
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
0
Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

 
mileyjaAuthor Commented:
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
0
 
surajgupthaCommented:
1. Can you try setting the application's trust?
2. Currently the application is not able able to access the application folder??
0
 
surajgupthaCommented:
Have you tried choosing "Everyone" when installing the application instead of "Just Me"
0
 
mileyjaAuthor Commented:
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.  
0
 
surajgupthaCommented:
Can you try setting the application's trust to a full trust application?
0
 
mileyjaAuthor Commented:
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
0
 
surajgupthaCommented:
>> The particular share has a permission set that allows write privileges by everyone on the domain

Does your application write to a share?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.