c#2010 winforms - folder security

Hi

I have an application that is accessing an access database on a shared network drive.  This drive is accessible by all, and I am now thinking that it will be a good idea to introduce some more security on the database. The database is password protected, but what I would also like to do is protect the folder that the database is stored in, to prevent access to users. the server is windows 2003


If i allow access to the folder to only my windows login, can I programatically pass my credentials through my c# application, so that it also has access, thus allowing the system to perform as normal, and preventing unwanted users from viewing the content of the folder through windows explorer.

Cheers

CD
cycledudeAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

apeterCommented:
You have to impersonate your client application so that only this can access that folder in your windows 2003 server. Hence other who logs in windows 2003 can't access that folder.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
cycledudeAuthor Commented:
I accepted this just to close the question, whilst it answer my question in the broadest sense I was looking for a solution as opposed to the theory
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.