473,396 Members | 2,076 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

FileIOPermissionAccess.PathDiscovery permission needed


How can I give the logged in User FileIOPermissionAccess.PathDiscovery
permission to execute a Environment.SpecialFolder.ApplicationData method ?

thanks Brian,

Mar 7 '08 #1
2 1726
One way is to create an account that has the required permission and
impersonate that user through code.

--
--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
"Brian Stoop" <b.*****@consultant-spam.free.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
>
How can I give the logged in User FileIOPermissionAccess.PathDiscovery
permission to execute a Environment.SpecialFolder.ApplicationData method
?

thanks Brian,
Mar 7 '08 #2
Alvin,

Do you know how I give a user FileIOPermissionAccess.PathDiscovery
permission? Is it via the Group Policy editor?
thanks

"Alvin Bruney [ASP.NET MVP]" <www.lulu.com/owcwrote in message
news:67**********************************@microsof t.com...
One way is to create an account that has the required permission and
impersonate that user through code.

--
--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
"Brian Stoop" <b.*****@consultant-spam.free.comwrote in message
news:er**************@TK2MSFTNGP03.phx.gbl...
>>
How can I give the logged in User FileIOPermissionAccess.PathDiscovery
permission to execute a Environment.SpecialFolder.ApplicationData method
?

thanks Brian,

Mar 8 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: cigwork | last post by:
Using VS.NET 2K3 pro. My development environment is set up with project & source files on a network drive and until a recent server hardware failure followed by a restore/rebuild this worked...
12
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current...
10
by: Florian G. Pflug | last post by:
Hi I installed a postgres-application (which was developed on debian woody) on red hat 9 today, using the postgres 7.3 rpms from redhad. One of my the triggers uses the pg_settings table (more...
3
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
0
by: cig | last post by:
Using VS.Net 2K3 Pro. My development environment is set up with project & source files on a network drive and until a recent server hardware failure followed by a restore/rebuild this worked...
0
by: Tom | last post by:
Hi friends I am trying to modify a file on my computer but I get an error which says the following. "System.UnauthorizedAccessException: Access to the path. I also tried FileIOPermission ...
6
by: ReidarT | last post by:
I am copying a file from a network drive to a local PC. Could someone give me a short example on how to get permission to copy the file from R: to C: I have figured out that if I use Imports...
2
by: Brett | last post by:
When I run my app on a shared drive (J:\ for example), the processing that should take place doesn't. Running the app from that location in VS.NET debugger reveals this error: An unhandled...
3
by: Ethan Strauss | last post by:
Hi, I have a C#.Net 2.0 web app which needs to be able to read a bunch of files from a user's computer, but I have not be able to get it to do so without "Access denied" errors. The main piece of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.