Accessing files in a permissions protected windows folder

Discussion in 'C++' started by Taurkon, May 5, 2004.

  1. Taurkon

    Taurkon Guest

    **** Post for FREE via your newsreader at post.usenet.com ****

    I need to search and then open a file in a folder that is protected using
    NT2000 security. Is there a file open command that allows me to state the
    domain, user, and pswd for access rights to these files? I need to modify a
    current process to support this functionality and I myself am not a Windows
    c++ programmer and have not been able to find any libraries to support this
    functionality.

    Thanks
    Taurk



    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
    *** Usenet.com - The #1 Usenet Newsgroup Service on The Planet! ***
    http://www.usenet.com
    Unlimited Download - 19 Seperate Servers - 90,000 groups - Uncensored
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
     
    Taurkon, May 5, 2004
    #1
    1. Advertising

  2. "Taurkon" <> wrote...
    > I need to search and then open a file in a folder that is protected using
    > NT2000 security. Is there a file open command that allows me to state the
    > domain, user, and pswd for access rights to these files?[...]


    Not in C++. You might want to ask in a newsgroup for your platform.

    Victor
     
    Victor Bazarov, May 6, 2004
    #2
    1. Advertising

  3. "Victor Bazarov" <> wrote in message news:<6Rgmc.37858$kh4.1949982@attbi_s52>...
    > "Taurkon" <> wrote...
    > > I need to search and then open a file in a folder that is protected using
    > > NT2000 security. Is there a file open command that allows me to state the
    > > domain, user, and pswd for access rights to these files?[...]

    >
    > Not in C++. You might want to ask in a newsgroup for your platform.
    >
    > Victor


    Not in /standard/ C++, if we want to be precise. Win2000 adds extra
    functions to standard C++, which you can then use. However, Victor
    is right when he points out that the details of these functions are
    on topic in newsgroups dealing with the {C++,Windows} combination.

    Regards,
    Michiel Salters
     
    Michiel Salters, May 6, 2004
    #3
  4. "Michiel Salters" <> wrote...
    > "Victor Bazarov" <> wrote in message

    news:<6Rgmc.37858$kh4.1949982@attbi_s52>...
    > > "Taurkon" <> wrote...
    > > > I need to search and then open a file in a folder that is protected

    using
    > > > NT2000 security. Is there a file open command that allows me to state

    the
    > > > domain, user, and pswd for access rights to these files?[...]

    > >
    > > Not in C++. You might want to ask in a newsgroup for your platform.
    > >
    > > Victor

    >
    > Not in /standard/ C++, if we want to be precise. [...]


    When posting to comp.lang.c++, there is no other C++ /than standard/.
     
    Victor Bazarov, May 7, 2004
    #4
    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. Andreas Klemt
    Replies:
    2
    Views:
    587
    Andreas Klemt
    Jul 5, 2003
  2. Scott Allen
    Replies:
    0
    Views:
    468
    Scott Allen
    Jul 13, 2004
  3. Gallagher, Tim (NE)
    Replies:
    1
    Views:
    365
    Adam Jones
    Aug 21, 2006
  4. Curt K
    Replies:
    0
    Views:
    589
    Curt K
    Nov 3, 2006
  5. Alan Silver
    Replies:
    0
    Views:
    397
    Alan Silver
    Feb 27, 2008
Loading...

Share This Page