DB Rights / Security

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

  1. #1

    Default DB Rights / Security

    Sorry if this is the wrong place for this post... not sure
    whether this is IIS security or DB security.

    2 boxes both running:

    Win2K SP4
    IIS5

    I have a number of online eQuestionnaire applications that
    read/write to the DB. It appears that directory security
    of the wwwroot folder is identical for both machines (Web
    Anonymous Users has write denied). When I submit using
    the form to create records in the DB, my laptop allows it
    under that security while my identical desktop says I must
    use an updateable query. I know this means that it is a
    rights issue.

    The question, if I have numerous updateable DBs within
    directories beneath the wwwroot, what should I set the
    default security to on wwwroot so that the DBs can be
    updated but that does not open up other security issues?

    Thanks in advance.
    Steven C Guest

  2. Similar Questions and Discussions

    1. Rights and Security on folders
      Hi, I am having an issue with folder rights off of a share. Users have the rights to create folders. But I do not want them to be able to delete...
    2. Change Ownership and security rights all at once?
      Is there a resource kit tool or a third party utility that I can use to do ownership and ACL rights all at once? I have a 700 GB directory that I...
    3. Cannot export with FH MXa (no rights...(?))
      Hi all, I'm trying to create some flash page layout using Freehand MXa. When I need to export to flash swf, I encounter a big problem. An error...
    4. Adminitrator Rights
      Hi Justin, is your PC part of domain or is this home PC? If it is part of domain, Domain administrator might have prevented you from using this...
    5. user rights
      The entries in "user rights assignments" which comes under Local Computer policy-Windows settings-Local policies are greyed out so i cannot make...
  3. #2

    Default Re: DB Rights / Security

    Whatever account that is accessing the DB, typically IUSR_machine_name needs
    to have permissions to modify files, create files, and delete files (in
    addition to reading them, of course) in the directory that contains the .mdb
    file. If you are not using anonymous access, then the authenticated users
    need those permissions.

    It's possible that the error you're getting has to do with %temp%
    permissions though. Are you using an OLEDB connection string to your
    database or ODBC? I've heard that when you use OLEDB you don't have to
    worry about %temp% permissions, but I've also seen at least one disagreement
    to that. Either way, make sure that your user (whether it's IUSR or your
    authenticated users) have read/write permissions to the directory the
    database is in (not just the .mdb itself) and use an OLEDB connection
    string. ([url]www.connectionstrings.com[/url])

    Also, by keeping your .mdb file in the wwwroot area, it is possible for
    people to download your database. See here.
    [url]http://www.aspfaq.com/show.asp?id=2454[/url]

    Ray at work

    "Steven C" <mepadre@hotmail.com> wrote in message
    news:0cb401c3df86$46af6f60$a301280a@phx.gbl...
    > Sorry if this is the wrong place for this post... not sure
    > whether this is IIS security or DB security.
    >
    > 2 boxes both running:
    >
    > Win2K SP4
    > IIS5
    >
    > I have a number of online eQuestionnaire applications that
    > read/write to the DB. It appears that directory security
    > of the wwwroot folder is identical for both machines (Web
    > Anonymous Users has write denied). When I submit using
    > the form to create records in the DB, my laptop allows it
    > under that security while my identical desktop says I must
    > use an updateable query. I know this means that it is a
    > rights issue.
    >
    > The question, if I have numerous updateable DBs within
    > directories beneath the wwwroot, what should I set the
    > default security to on wwwroot so that the DBs can be
    > updated but that does not open up other security issues?
    >
    > Thanks in advance.

    Ray at Guest

  4. #3

    Default Re: DB Rights / Security

    Ray,

    Thank you for your response. Indeed I am using OLEDB.
    Just seem strange that two identically configured
    computers would deal with the security differently (i.e.
    one allows the write to take place, the other does not).

    As for people accessing the DB, both of these machines are
    only for development purposes so DB security / potential
    for download is not a concern. When I move it to my live
    server, the DBs are always stored below the web root.
    Thanks for the advice though.

    Regards,
    Steven

    >-----Original Message-----
    >Whatever account that is accessing the DB, typically
    IUSR_machine_name needs
    >to have permissions to modify files, create files, and
    delete files (in
    >addition to reading them, of course) in the directory
    that contains the .mdb
    >file. If you are not using anonymous access, then the
    authenticated users
    >need those permissions.
    >
    >It's possible that the error you're getting has to do
    with %temp%
    >permissions though. Are you using an OLEDB connection
    string to your
    >database or ODBC? I've heard that when you use OLEDB you
    don't have to
    >worry about %temp% permissions, but I've also seen at
    least one disagreement
    >to that. Either way, make sure that your user (whether
    it's IUSR or your
    >authenticated users) have read/write permissions to the
    directory the
    >database is in (not just the .mdb itself) and use an
    OLEDB connection
    >string. ([url]www.connectionstrings.com[/url])
    >
    >Also, by keeping your .mdb file in the wwwroot area, it
    is possible for
    >people to download your database. See here.
    >[url]http://www.aspfaq.com/show.asp?id=2454[/url]
    >
    >Ray at work
    >
    >"Steven C" <mepadre@hotmail.com> wrote in message
    >news:0cb401c3df86$46af6f60$a301280a@phx.gbl...
    >> Sorry if this is the wrong place for this post... not
    sure
    >> whether this is IIS security or DB security.
    >>
    >> 2 boxes both running:
    >>
    >> Win2K SP4
    >> IIS5
    >>
    >> I have a number of online eQuestionnaire applications
    that
    >> read/write to the DB. It appears that directory
    security
    >> of the wwwroot folder is identical for both machines
    (Web
    >> Anonymous Users has write denied). When I submit using
    >> the form to create records in the DB, my laptop allows
    it
    >> under that security while my identical desktop says I
    must
    >> use an updateable query. I know this means that it is a
    >> rights issue.
    >>
    >> The question, if I have numerous updateable DBs within
    >> directories beneath the wwwroot, what should I set the
    >> default security to on wwwroot so that the DBs can be
    >> updated but that does not open up other security issues?
    >>
    >> Thanks in advance.
    >
    >
    >.
    >
    Steven C Guest

  5. #4

    Default Re: DB Rights / Security

    Perhaps one of the machines has a FAT file system, hence no security. ?

    Ray at work

    "Steven C" <mepadre@hotmail.com> wrote in message
    news:16df01c3df9d$1f2edbd0$a601280a@phx.gbl...
    > Ray,
    >
    > Thank you for your response. Indeed I am using OLEDB.
    > Just seem strange that two identically configured
    > computers would deal with the security differently (i.e.
    > one allows the write to take place, the other does not).
    >
    > As for people accessing the DB, both of these machines are
    > only for development purposes so DB security / potential
    > for download is not a concern. When I move it to my live
    > server, the DBs are always stored below the web root.
    > Thanks for the advice though.
    >
    > Regards,
    > Steven
    >
    >
    > >-----Original Message-----
    > >Whatever account that is accessing the DB, typically
    > IUSR_machine_name needs
    > >to have permissions to modify files, create files, and
    > delete files (in
    > >addition to reading them, of course) in the directory
    > that contains the .mdb
    > >file. If you are not using anonymous access, then the
    > authenticated users
    > >need those permissions.
    > >
    > >It's possible that the error you're getting has to do
    > with %temp%
    > >permissions though. Are you using an OLEDB connection
    > string to your
    > >database or ODBC? I've heard that when you use OLEDB you
    > don't have to
    > >worry about %temp% permissions, but I've also seen at
    > least one disagreement
    > >to that. Either way, make sure that your user (whether
    > it's IUSR or your
    > >authenticated users) have read/write permissions to the
    > directory the
    > >database is in (not just the .mdb itself) and use an
    > OLEDB connection
    > >string. ([url]www.connectionstrings.com[/url])
    > >
    > >Also, by keeping your .mdb file in the wwwroot area, it
    > is possible for
    > >people to download your database. See here.
    > >[url]http://www.aspfaq.com/show.asp?id=2454[/url]
    > >
    > >Ray at work
    > >
    > >"Steven C" <mepadre@hotmail.com> wrote in message
    > >news:0cb401c3df86$46af6f60$a301280a@phx.gbl...
    > >> Sorry if this is the wrong place for this post... not
    > sure
    > >> whether this is IIS security or DB security.
    > >>
    > >> 2 boxes both running:
    > >>
    > >> Win2K SP4
    > >> IIS5
    > >>
    > >> I have a number of online eQuestionnaire applications
    > that
    > >> read/write to the DB. It appears that directory
    > security
    > >> of the wwwroot folder is identical for both machines
    > (Web
    > >> Anonymous Users has write denied). When I submit using
    > >> the form to create records in the DB, my laptop allows
    > it
    > >> under that security while my identical desktop says I
    > must
    > >> use an updateable query. I know this means that it is a
    > >> rights issue.
    > >>
    > >> The question, if I have numerous updateable DBs within
    > >> directories beneath the wwwroot, what should I set the
    > >> default security to on wwwroot so that the DBs can be
    > >> updated but that does not open up other security issues?
    > >>
    > >> Thanks in advance.
    > >
    > >
    > >.
    > >

    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