Access connection to coldfusion with username/password

Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default Access connection to coldfusion with username/password

    My server requires me to connect to Coldfusion to my .cfm pages using a
    username and password set up in Access. Please tell me how to set up the
    username/paswored feature in Access, and how to connect it to coldfusion.
    Please tell me the code how to connect the .cfm page to the DSN, is it
    something like:

    <cfquery name="Recordset1" datasource="DSN name here" username="DSN
    name-reader=username" password="DSN name-readerpassword=password" > :confused;

    sa-txweather Guest

  2. Similar Questions and Discussions

    1. username and password
      Hi all, My website host moved my site onto bigger servers and my ftp usermane and password had to be changed. Apparently the Contribute software...
    2. Access Unicode connection crashes whith password
      I have found this problem on a number of posts in the forums, but none of them have a fix, solution or workaround. Has anything been done or posted...
    3. password/username
      i have figured out how to "insert record' and when i fill in the text areas the page inserts the names into my database labeled passwords. what i...
    4. Security of FTP username/password in connection keys?
      We will be setting up FTP accounts for our Contribute users. For security reasons we cannot give them their usernames and passwords, but rather...
    5. Username and password?
      Thanks for this but I keep getting directed to Dreamweaver UltraDev. Do I need this or can I do it with MX? northerncaller
  3. #2

    Default Re: Access connection to coldfusion withusername/password

    Well, I don't really use Access at all, but I will try to help. Within Access,
    go to Tools->Security->User and Group Accounts. This will allow you to
    create/modify user accounts. Create an account that you need (i.e. User=Test,
    Password="test1")

    In your ColdFusion QUERY line,

    <cfquery name="recordset1" datasource="DNS" username="Test"
    password="test1">

    that should do it. You don't need the DNS pre-appended the the information.

    I hope that helps,


    drew222 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