Solved

Cheking folder or file permissions

Posted on 2011-03-03
3
372 Views
Last Modified: 2012-05-11
In my C# winform app. what is the proper and quicker way to check a folder or file write/read  permissions before loading the app.?
0
Comment
Question by:yaron89
3 Comments
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
Comment Utility
0
 
LVL 40

Expert Comment

by:Vadim Rapp
Comment Utility
Checking existing permissions will validate what should be. If you want to check what is, then try to read from and write to, i.e. try exactly what your application will be doing.

The difference between should and is is exactly what makes people come to E-E with the question "I have correct permissions, but for some reason my application does not work".
0
 

Author Closing Comment

by:yaron89
Comment Utility
Thank you
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

One of the frequent problems with the installations is when some file or registry entry is not removed from the system upon un-installation of the product. Clean removal is always highly desirable. One major reason for that is badly authored inst…
If you don't know how to downgrade, my instructions below should be helpful.
This video discusses moving either the default database or any database to a new volume.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now