Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default IUSR Permissions


    I'm made an .ASP application that uses 1 .mdb for login authentication, and
    1 for my main database. My page is automated so that 1 file is created and
    filled with data from the main .mdb, then the application updates my
    database so I know which records have been downloaded and which have not. It
    works great if I give IUSR_ sweeping, full control across my \WINNT,
    \WINNT\TEMP, and \INETPUB.
    As soon as I take away permission from some file or folder that should have
    nothing to do with the ASP, like the \inetpub\ftproot, It fails to work. Can
    anyone tell me exactly which files and folders an asp application connecting
    to an MS Access DB through a Jet Connection, needing to read, execute, and
    write in the database? (Now, all asp and mdb files reside in the wwwroot
    dir.
    Thanks,
    Matt Massie


    Matt Massie Guest

  2. Similar Questions and Discussions

    1. permissions
      I face the same problem of denied access to folders made private prior to the re-installation of only 'C' Drive. OEM provider stated that a key to...
    2. Contribute permissions vs. network permissions
      We are currently implementing Contribute in a website that is highly centralized, with approximately 50 department-level CT writers and 4 CT...
    3. XML with PHP permissions
      Hi All I am playing around with the idea of writing a xml based cms, and would like it to be able to be used on hostings where you do not have...
    4. Permissions in PHP
      Hi! I have a script designed to read a number of images and make thumbnails of them. These thumbnails are stored in /thumbs/ as tn_filename.jpg....
    5. SQL Server and IUSR account
      I have recently been brought on to a project that is integrating SQL Server 2000 as a new backend choice for an .asp application (now supporting...
  3. #2

    Default Re: IUSR Permissions

    What about DLLs in system32? Are there specific files there that need to be
    "permissioned"? Right now, If I drop IUSR full control from WINNT\SYSTEM32,
    my program fails. I either 1.let my application run, with security gaps, 2
    don't use it or 3. go through the c:\ checking the operability of the
    program one file at a time. Are there any programs that will analyze which
    resources a particular set of code utilizes?


    Matt Massie Guest

  4. #3

    Default Re: IUSR Permissions

    IUSR needs to read/write/modify (delete) permissions on the directory that
    contains the .mdb. Any time it needs to access the database, it will need
    to create an .ldb file in the directory. That is why even if all your site
    is going to do is read from the .mdb, you cannot just give read permissions
    on the .mdb file itself.

    Also, if you're using ODBC, IUSR may need permissions to the %temp% (system)
    directory as well, as it creates and deletes temp files in there. The best
    thing to do though is use OLEDB and then you won't have to worry about
    permissions on %temp%.

    Ray at work

    "Matt Massie" <rmmassie@comcast.net> wrote in message
    news:l5Odnbfm_aOt2DyiRVn-gw@comcast.com...
    >
    > I'm made an .ASP application that uses 1 .mdb for login authentication,
    and
    > 1 for my main database. My page is automated so that 1 file is created and
    > filled with data from the main .mdb, then the application updates my
    > database so I know which records have been downloaded and which have not.
    It
    > works great if I give IUSR_ sweeping, full control across my \WINNT,
    > \WINNT\TEMP, and \INETPUB.
    > As soon as I take away permission from some file or folder that should
    have
    > nothing to do with the ASP, like the \inetpub\ftproot, It fails to work.
    Can
    > anyone tell me exactly which files and folders an asp application
    connecting
    > to an MS Access DB through a Jet Connection, needing to read, execute, and
    > write in the database? (Now, all asp and mdb files reside in the wwwroot
    > dir.
    > Thanks,
    > Matt Massie
    >
    >

    Ray at Guest

  5. #4

    Default Re: IUSR Permissions

    I don't really have answers to your questions that I'd be willing to post
    thinking that I ~may~ guess correctly. But, how would your application have
    security holes if IUSR has permissions on dll's? What is it that you fear
    will happen? Are you suspicious of coworkers who will create malicious
    applications? Typically, the fact that IUSR is a guest on the machine makes
    it a pretty secure account.

    Ray at home

    "Matt Massie" <rmmassie@comcast.net> wrote in message
    news:WcudnRWWs8671zyiRVn-sA@comcast.com...
    > What about DLLs in system32? Are there specific files there that need to
    be
    > "permissioned"? Right now, If I drop IUSR full control from
    WINNT\SYSTEM32,
    > my program fails. I either 1.let my application run, with security gaps, 2
    > don't use it or 3. go through the c:\ checking the operability of the
    > program one file at a time. Are there any programs that will analyze which
    > resources a particular set of code utilizes?
    >
    >

    Ray at Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139