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

  1. #1

    Default Securing MDBs

    I've got a webserver, IIS6, and an ASP application running on that
    server. The ASP validates users by their logon name so for this
    particular folder IIS is set up with Integrated Windows
    Authentication. The problem is then I have to give all Users
    Read/Write permissions to the database file, so if some cunning
    individual could work out the path to the database they would be able
    to change any record they pleased.

    Is there a better way of setting up the security?

    I've tried giving IUSR full access to the MDB file and enabling
    anonymous access to it in IIS, but this didn't work, it still says I
    don't have permission to access the file, I guess because the ASP is
    running as me?

    Many thanks in advance.
    busabus Guest

  2. Similar Questions and Discussions

    1. Securing the CF administrator
      I'm looking for a way to better secure the CF administrator, which comes up at http://www.domain.com/cfide/administrator/index.cfm because of the...
    2. Securing a web service
      Hi. Whats the best practice to secure a webserivce, basically I have already secured the webservice with XHEO however I need the webservice to...
    3. need asp code to modify design of multiple MS Access MDBs
      I have an ASP application with MS Access 2002 backend. This application I have 20 copies of running on the same server. Each application is a...
    4. Securing a directory
      Hi everyone, I just read an article that said that when you use a web.config file to secure a directory, all it can do is secure the asp.net...
    5. Securing POP3
      Greetings! What options do I have for securing POP3 on a Debian server? I've got clients connecting with all varieties of platforms (proprietary...
  3. #2

    Default Re: Securing MDBs

    busabus wrote:
    > ...so if some cunning
    > individual could work out the path to the database they would be able
    > to change any record they pleased.
    >
    > Is there a better way of setting up the security?
    >
    Stash the mdb outside your www space.

    --
    William Tasso - [url]http://WilliamTasso.com[/url]


    William Tasso Guest

  4. #3

    Default Re: Securing MDBs

    Rename the *.mdb to *.sdfksdkjh it will still work, also install urlscan
    (ms) and as William said stash it outside webfolders.
    Don


    "busabus" <drwhiting@hotmail.com> wrote in message
    news:358e222f.0312020223.25cbca32@posting.google.c om...
    > I've got a webserver, IIS6, and an ASP application running on that
    > server. The ASP validates users by their logon name so for this
    > particular folder IIS is set up with Integrated Windows
    > Authentication. The problem is then I have to give all Users
    > Read/Write permissions to the database file, so if some cunning
    > individual could work out the path to the database they would be able
    > to change any record they pleased.
    >
    > Is there a better way of setting up the security?
    >
    > I've tried giving IUSR full access to the MDB file and enabling
    > anonymous access to it in IIS, but this didn't work, it still says I
    > don't have permission to access the file, I guess because the ASP is
    > running as me?
    >
    > Many thanks in advance.

    Don Grover Guest

  5. #4

    Default Re: Securing MDBs

    On 2 Dec 2003 02:23:29 -0800, [email]drwhiting@hotmail.com[/email] (busabus) wrote:
    >I've got a webserver, IIS6, and an ASP application running on that
    >server. The ASP validates users by their logon name so for this
    >particular folder IIS is set up with Integrated Windows
    >Authentication. The problem is then I have to give all Users
    >Read/Write permissions to the database file, so if some cunning
    >individual could work out the path to the database they would be able
    >to change any record they pleased.
    >
    >Is there a better way of setting up the security?
    1) Never give permissions to more than needed. In the case of an
    Access database, the Anonymous user account for anonymous access, or
    the logged in user for authenticated access. You need MODIFY control
    for the MDB file and the folder it is located in (creation of lock
    file) for the specific users involved. Use a group for this purpose.

    2) Place the MDB file outside the web folder heirachy and it can't be
    directly accessed by a web browser.

    3) If you use URLScan, block requests for the MDB extension. The MDB
    file itself never needs to be requested.

    4) Rename the MDB file with a different extension. This *can* be
    problematic depending on how you manage it.

    5) Use a database other than Access that provides for better
    security.
    >I've tried giving IUSR full access to the MDB file and enabling
    >anonymous access to it in IIS, but this didn't work, it still says I
    >don't have permission to access the file, I guess because the ASP is
    >running as me?
    No, it's because you're using Windows Authentication, and the
    authenticated user needs access.

    Jeff
    Jeff Cochran Guest

  6. #5

    Default Re: Securing MDBs

    [url]http://www.aspfaq.com/2454[/url]

    --
    Aaron Bertrand
    SQL Server MVP
    [url]http://www.aspfaq.com/[/url]




    "busabus" <drwhiting@hotmail.com> wrote in message
    news:358e222f.0312020223.25cbca32@posting.google.c om...
    > I've got a webserver, IIS6, and an ASP application running on that
    > server. The ASP validates users by their logon name so for this
    > particular folder IIS is set up with Integrated Windows
    > Authentication. The problem is then I have to give all Users
    > Read/Write permissions to the database file, so if some cunning
    > individual could work out the path to the database they would be able
    > to change any record they pleased.
    >
    > Is there a better way of setting up the security?
    >
    > I've tried giving IUSR full access to the MDB file and enabling
    > anonymous access to it in IIS, but this didn't work, it still says I
    > don't have permission to access the file, I guess because the ASP is
    > running as me?
    >
    > Many thanks in advance.

    Aaron Bertrand - MVP Guest

  7. #6

    Default Re: Securing MDBs

    Thanks for all the advice, I guess the 'move it out of the website'
    one is the best. Because it's an internal server I was thinking they
    could just UNC to it if it was anywhere on the server... but then they
    shouldn't have share access should they! Man, that MCSE was worth
    every penny...

    Thanks again.

    "Aaron Bertrand - MVP" <aaron@TRASHaspfaq.com> wrote in message news:<OW4eOWOuDHA.2060@TK2MSFTNGP10.phx.gbl>...
    > [url]http://www.aspfaq.com/2454[/url]
    >
    > --
    > Aaron Bertrand
    > SQL Server MVP
    > [url]http://www.aspfaq.com/[/url]
    >
    >
    >
    >
    > "busabus" <drwhiting@hotmail.com> wrote in message
    > news:358e222f.0312020223.25cbca32@posting.google.c om...
    > > I've got a webserver, IIS6, and an ASP application running on that
    > > server. The ASP validates users by their logon name so for this
    > > particular folder IIS is set up with Integrated Windows
    > > Authentication. The problem is then I have to give all Users
    > > Read/Write permissions to the database file, so if some cunning
    > > individual could work out the path to the database they would be able
    > > to change any record they pleased.
    > >
    > > Is there a better way of setting up the security?
    > >
    > > I've tried giving IUSR full access to the MDB file and enabling
    > > anonymous access to it in IIS, but this didn't work, it still says I
    > > don't have permission to access the file, I guess because the ASP is
    > > running as me?
    > >
    > > Many thanks in advance.
    busabus 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