write to database without giving write permission to IIS

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

  1. #1

    Default write to database without giving write permission to IIS

    Hi there,
    I have some ASP code that writes to access database. For
    security reason I do not want IUSER to give write
    permission to database folder. I am using IIS 5.0 and
    vbscript.

    Is there any way writing to access database can be done
    without giving write permission to IUSER?
    Is there any dll or com object or source code?

    I appreciate your time.

    Thanks
    Jyoti

    jyoti Guest

  2. Similar Questions and Discussions

    1. Cannot Write to Database
      Hi I am just starting to teach myself to use Ultradev with databases I have created a simple test site in Dreamweaver Ultradev that is linked to a...
    2. directory contend write into database
      Hello, we started with CF after 5 years again. and test the functions. OK the Problem is, we must load the contend of a Directoryfilenames into...
    3. permission to write a file (with java)
      hi there i've wrote a piece of java-code that runs great if i start it from eclipse. when i pack it to a jar-file and put it in the customtags...
    4. User ASPNET needs permission to write on CD
      Hi, how can I give the user ASPNET the permission to write files on CD (e.g. drive e:). Thanks in advance -- Best regards Henry
    5. Looking for a webservice example to write to a database in VB
      Any ideas? -- ______________________ David Fetrow HelixPoint LLC. http://www.helixpoint.com davef@helixpoint.com
  3. #2

    Default Re: write to database without giving write permission to IIS

    Yes, give write permissions to a specific Windows user, and require Windows
    Authentication to run the ASP pages.

    Or, use a database product that doesn't require explicit file writing
    permissions.

    (No, "dll or com object" will not solve this problem. This is not an issue
    of code techniques, it's a issue of Windows security and database platform
    choice.)

    --
    [url]http://www.aspfaq.com/[/url]
    (Reverse address to reply.)




    "jyoti" <muhammed_rahman@hotmail.com> wrote in message
    news:1675401c447f5$d7c33270$a401280a@phx.gbl...
    > Hi there,
    > I have some ASP code that writes to access database. For
    > security reason I do not want IUSER to give write
    > permission to database folder. I am using IIS 5.0 and
    > vbscript.
    >
    > Is there any way writing to access database can be done
    > without giving write permission to IUSER?
    > Is there any dll or com object or source code?
    >
    > I appreciate your time.
    >
    > Thanks
    > Jyoti
    >

    Aaron [SQL Server MVP] Guest

  4. #3

    Default Re: write to database without giving write permission to IIS

    On Tue, 1 Jun 2004 09:31:08 -0700, "jyoti"
    <muhammed_rahman@hotmail.com> wrote:
    >Hi there,
    >I have some ASP code that writes to access database. For
    >security reason I do not want IUSER to give write
    >permission to database folder. I am using IIS 5.0 and
    >vbscript.
    >
    >Is there any way writing to access database can be done
    >without giving write permission to IUSER?
    You have to give MODIFY permission to whatever user account is
    accessing the database file *and* folder. That's a function of
    Access, not IIS or ASP.
    >Is there any dll or com object or source code?
    Not that works around this. An Access database creates a temporary
    lock file. That's why the user has to have rights to the folder as
    well as the access file. My first choice would be to move from Access
    to MSDE, or SQL Server if you can afford it. Second would be to use
    an account as Aaron suggested, forcing a login with a separate Windows
    account. It's not the anonymous user account, but the account still
    has access to the folder.

    Jeff
    Jeff Cochran 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