Solved

Cheking folder or file permissions

Posted on 2011-03-03
3
378 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
ID: 35027256
0
 
LVL 40

Expert Comment

by:Vadim Rapp
ID: 35027502
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
ID: 35083619
Thank you
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
If you don't know how to downgrade, my instructions below should be helpful.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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