FolderBrowserDialog and FileIOPermission

Discussion in 'ASP .Net Security' started by richard, Dec 5, 2004.

  1. richard

    richard Guest

    hi
    I want to get a folder path from the user.
    I built a small control which I put in a web page
    using the object tag
    <OBJECT id="foldered"
    classid="bin/ctrlFolderPicker.dll#ctrlFolderPicker.UserControl1"
    VIEWASTEXT>
    I use FolderBrowserDialog to browse the directories.
    I get the window of the directory browser to open but
    when I try to get the value using the "SelectedPath" property
    I get System.Security.Permissions.FileIOPermission
    is there a way to get permission for this? ( client side i guess)
    is there another way to get a folder dialog browser in a web form?
    Thanks
    R.
    richard, Dec 5, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?RmxvcmVudA==?=

    FolderBrowserDialog in ASPX ?

    =?Utf-8?B?RmxvcmVudA==?=, Apr 28, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    6,956
    =?Utf-8?B?RmxvcmVudA==?=
    Apr 28, 2004
  2. =?Utf-8?B?cGF1bA==?=

    System.Security.Permissions.FileIOPermission

    =?Utf-8?B?cGF1bA==?=, Oct 1, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    953
    =?Utf-8?B?cGF1bA==?=
    Oct 1, 2004
  3. Replies:
    4
    Views:
    20,830
    Nicole Calinoiu
    May 31, 2006
  4. Carl Gilbert
    Replies:
    0
    Views:
    457
    Carl Gilbert
    Oct 4, 2006
  5. =?Utf-8?B?TWlrZQ==?=

    folderBrowserDialog

    =?Utf-8?B?TWlrZQ==?=, Dec 3, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    463
    Mark Rae
    Dec 3, 2006
Loading...

Share This Page