[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

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?
0
mileyja
Asked:
mileyja
  • 6
  • 3
1 Solution
 
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
 
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
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:
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
 
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

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

  • 6
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now