Close

Results 1 to 5 of 5
  1. #1
    DF VIP Member RowaN's Avatar
    Join Date
    Nov 2000
    Location
    Karamoon
    Posts
    405
    Thanks
    16
    Thanked:        42
    Karma Level
    308

    Default IIS file permissions help please.. groan, heh!

    I'm running a website where users details are stored on a Access database. In order to prevent people downloading the database I need to take away the NTFS anonymous access currently set on the file. This would be replaced with an NTFS user name and password, which would prevent anon download, but which would also mean that all the VBScript programs that access the database would have to log in as this new NTFS user in order to read and write data to it...

    My problem is that I don't know how to open the database file using a specific user name and password in the code ... I currently open the file using a "db.Open 'DSN='"statement, and the database username and password are embedded in the DSN definition. There is a syntax when using the 'db.Open' statement that looks something like:

    db.Open "DSN=blah; UID=username; PWD=password"

    but I couldn't get this to work!!

    Any help much appriciated.
    <Lionel Hutz> Oh I am, am I? Is that what you think? Well if that's what you think, I have something to tell you. Something which may shock and discredit you. And that thing is as follows. I'm not wearing a tie at all.

  2. #2
    DF VIP Member RowaN's Avatar
    Join Date
    Nov 2000
    Location
    Karamoon
    Posts
    405
    Thanks
    16
    Thanked:        42
    Karma Level
    308

    help with IIS permissions to access a database

    <Lionel Hutz> Oh I am, am I? Is that what you think? Well if that's what you think, I have something to tell you. Something which may shock and discredit you. And that thing is as follows. I'm not wearing a tie at all.

  3. #3
    DF VIP Member nickstan's Avatar
    Join Date
    Apr 2002
    Location
    UK
    Posts
    328
    Thanks
    0
    Thanked:        0
    Karma Level
    297

    Default

    Do you have access to any none-web directories?
    Its much easier and securer to sit the database in a normal directory where theres no web access allowed at all.

  4. #4
    DF VIP Member RowaN's Avatar
    Join Date
    Nov 2000
    Location
    Karamoon
    Posts
    405
    Thanks
    16
    Thanked:        42
    Karma Level
    308

    Default

    Thanks. Thats what I had suggested (trying to solve this problem for a colleage) but he rubbished the idea. Just explained it to him again and now he understands. Some people, tut!!
    <Lionel Hutz> Oh I am, am I? Is that what you think? Well if that's what you think, I have something to tell you. Something which may shock and discredit you. And that thing is as follows. I'm not wearing a tie at all.

  5. #5
    DF VIP Member WTD's Avatar
    Join Date
    Mar 2001
    Location
    Tokyo, Japan
    Posts
    3,256
    Thanks
    0
    Thanked:        0
    Karma Level
    492

    Default

    Dont cross post Rowan

Similar Threads

  1. gta3 save file 4 u all (pc)
    By neilmachin in forum PC Gaming
    Replies: 6
    Last Post: 14th January 2003, 01:52 PM
  2. Wicked Flash File
    By Pegasus in forum The Dog and Duck
    Replies: 11
    Last Post: 13th November 2002, 11:46 PM
  3. T100 To T108 Flash File
    By BAZZO69 in forum Unlocking Questions & Solutions
    Replies: 7
    Last Post: 4th September 2002, 07:53 PM

Social Networking Bookmarks

Posting Permissions

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