write permissions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andreas Zita

    write permissions

    Hi

    I have a WS which saves (and overwrites) provided xml-data to xml-files in a
    certain directory under the appdir. If the file already exists it will be
    overwritten only if it was originally saved/created by the ws-app. Im
    wondering if there is a way to either (from code) give the app permissions
    to overwrite any files in its own subdirectories? ... or a way to establish
    if a file was created by this app or not (if the app has write permissions
    or not)? (so that a copy can be made)

    Thanks!
    Andreas Z


  • Clemens Reijnen

    #2
    RE: write permissions

    i think you have tot do something with code group policy for the dll wich is
    going to write to the directory... take a look at the .NET configuration tool
    in the admin tools.

    "Andreas Zita" wrote:
    [color=blue]
    > Hi
    >
    > I have a WS which saves (and overwrites) provided xml-data to xml-files in a
    > certain directory under the appdir. If the file already exists it will be
    > overwritten only if it was originally saved/created by the ws-app. Im
    > wondering if there is a way to either (from code) give the app permissions
    > to overwrite any files in its own subdirectories? ... or a way to establish
    > if a file was created by this app or not (if the app has write permissions
    > or not)? (so that a copy can be made)
    >
    > Thanks!
    > Andreas Z
    >
    >
    >[/color]

    Comment

    Working...