Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - File/Folder security for current context

 
Thread Tools Search this Thread
Old 05-27-2006, 09:50 AM   #1
Default File/Folder security for current context


How can I implement a function to show what kind file security access the
current context has on a file, for example:-


public enum AccessType
FullControl
Modify
Read
Write
end enum

private function GetAccess(pathStr as string) as AccessType
...
end function

Hope this explains.

I know I could wrap code inside a try catch block, but this seems a little
expensive. Hopefully there is something in the new FileSecurity features in
..NET 2 that does this a little smarter.

Any help would be greatly appreciated.




Davie
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Security Information and What You Can Do To Keep Your SystemSafe! Ann.Anderson.group.com@gmail.com A+ Certification 0 12-06-2007 01:55 AM
Computer Security aldrich.chappel.com.use@gmail.com A+ Certification 0 11-27-2007 02:11 AM
Computer Security Information (Free Articles and eBooks) aditya.jaiswal.com.use@gmail.com DVD Video 0 10-10-2007 04:53 AM
Norton Internet Security 2007 Reviewed @ BIOS Silverstrand Front Page News 0 11-02-2006 02:10 AM
Re: Mac Security vs. Windows Security Tony Sivori A+ Certification 0 10-28-2003 06:23 AM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46