Flicks Software's FAQ BBBB
Flicks Home

Frequently Asked Questions

Last modified: 4/30/2008

GENERAL INSTALLATION ODBC E-COMMERCE TUTORIALS
REMOTE ADMIN FRONT PAGE COOKIE
(Forms)
MISC VideoQuota ASP /.NET RESOURCES

NOTE:To search this FAQ by keyword, press CONTROL and F simultaneously. The Windows FIND box will appear. Type in the keyword, and click FIND NEXT until you find the topic that addresses your question.
Individual FAQ items are numbered for reference, beginning here.

    General

  1. Flicks Software Support Page
  2. Beginner's Step by Step (using the internal database)
  3. Beginner's Step by Step (using an ODBC database)
  4. I have tried to install the latest version, however it still comes up with the old version!
  5. I'm using IIS6 and I get "An attempt was made to load the filter but it requires the SF_NOTIFY_READ_RAW_DATA filter notification and this notification is not supported in Worker Process Isolation Mode."
  6. IIS6 - it doesn't seem to be working (when in fact it is).
  7. When I start the program, I get "Could not CreateDispatch (21434) , did you regsvr32 on the dll containing FlicksIISInstall.Install"
  8. Ordinal 6571 (or 6883, etc) could not be located in the dynamic link library MFC42.dll, or OCX error 800401f3
  9. Office2000 and IE Basic Authentication - inconsistent behaviour.
  10. What is the difference between the trial version and the registered version?
  11. I am going to upgrade and I want to make sure that installation will not overwrite my existing setup and configuration.
  12. AuthentiX and AuthentiX ISP - what is the difference between AuthentiX ISP and AuthentiX with a license for multiple DSN's?
  13. I have heard a lot about AuthentiX and it sounds great! Our website hosted at a ISP (internet service provider)/ WPP (web presence provider), Can we use it on our website hosted at the ISP?
  14. Problems with IE4.01 because of IE4.01 bug Q182133
  15. Problems with IE4.01 because of IE4.01 bug Q196383
  16. I installed the software, and it was protecting membership areas just great. But now it is not working.
  17. Where is the remote administration dll?
  18. Current user: how do I determine who the current user is, using CurrentUserName?

  19. How do I protect individual files?
  20. Add user directly to group?
  21. Cannot save to file
  22. I get into the the protected area, but it keeps re-prompting me with multiple prompts for a username and password.
  23. "I've installed the Red Worm patch. My IIS system restarts every 15 minutes (OR every 30 minutes OR every hour OR once per day). In the event log I see a message about AuthentiX starting up"

  24. The software keeps prompting me (three times or more!) on the page in the protected directory. It is a terrific page, it's got stylesheets, framesets, a whole bunch of cool gifs, all the latest stuff and more. Why am I having problems?
  25. I have been able to protect Real streaming files with WebQuota by saving them as .rm files .... but my visitors receive a double prompt for a username and password the first time they log in. How can I fix this?
  26. How can I turn on tracing, to see what files are being denied access?
  27. ASP Samples
  28. Can I run multiple copies of the software for multiple users?
  29. What happens if I use AuthentiX to protect a directory, then use it to protect a sub-directory of that directory?
  30. How do I change the access denied message and the realm?
  31. If i type a different page into the Address box on my browser, I am let in without another prompt.
  32. What's the performance hit of using the software?
  33. With AuthentiX ISP, can one administrator protect the files of another adminstrator?
  34. Are there any log files generated by Authentix?
  35. The REMOTE_USER environment variable is not being set for CGIs if a directory is protected using the software. How do I get the login name?
  36. I cannot get ASP to add users, or get any changes to 'stick'.
  37. Limit logins? Details, restrictions?
  38. Limit logins? How do I get it to work with my ODBC/SQL/mySQL database?
  39. The proxy server at AOL, etc. are driving me crazy. I am spending too much time analyzing whether my users are cheating on their subscriptions or just victims of these proxy servers.
  40. What is the process that takes place to validate a user.
  41. I have content which is license-restricted to 15 concurrent users - can you help?
  42. I notice that once I have entered a username and password to access a directory, I don't have to enter it again. Because several people share each computer/browser that access the directory, how do I turn this caching off?
  43. I have multiple protected directories and each are subdirectories of each other, ie /paid/, /paid/b/, /paid/c/, /paid/c/d/, etc. They are all separately protected by the same group. When a browser goes straight first to /paid/c/ he is prompted once. Then when going to /paid/b/ he is prompted again for the same username/password! I want him prompted only once!
  44. I am using files that are played with Windows Media Player. When they are protected with AuthentiX and Basic Authentication, Windows Media Player cannot access them when using IE, although Netscape works fine. (mpg, mpeg).
  45. I am using files that are played with Real Video and Real Player When they are protected with AuthentiX and Basic Authentication, Real Player cannot access them!
  46. I want to have several different directories, each with different levels of access (corresponding to an AuthentiX Group), but I only want users to login once, then be redirected to the appropriate directory based on their group. How can I do this? I don't want to put 3 buttons from a free area because everyone will see the different access levels.
  47. I expect to have tens of thousands of users, probably many more than that. Is the internal database the way to go, or how do you recommend I set up the site?
  48. Text file, versus Internal Database,versus ODBC, how do I choose?
  49. Text file, permission issues. ?
  50. I want the ability in ASP to take away content that a logged on user without sufficient privileges shouldn't see, for a particular page in a protected directory.
  51. I'm using Cookie-protected directories over an SSL connection and I cannot download zip files (or Save-target-as) with Internet Explorer (Netscape works fine). How do I fix this? (.pdf, .xls, .doc, .zip, .exe).
  52. I'm serving up .pdf, .xls, .doc, .zip, .exe files, however if I open them in a new browser using javascript:window.open function but the cookie gets lost and the file cannot open!
  53. I want to change the dialog box the user sees when logging in using Basic Authentication. Where in AuthentiX do I set this up?
  54. Basic Authentication: can I set the username and password on the browser, so the user does not have to see the popup login dialog?
  55. Basic Authentication: how can I logout a user?
  56. Why is the FAQ in one great huge file?
  57. I am using AuthentiX ISP and the aspAdminISP asp web pages for remote administration, and I am getting -14 users, and other strange results. In the Administrator Settings, it tells me "This domain has a bad password (status: 2). See your ISP Administrator".
  58. I am using AuthentiX ISP and the OCX module and I am getting error 102, and other strange results.
  59. I am using the AuthentiX OCX module and I am getting error 50.
  60. I just used AuthentiX to protect a directory that I've been working on, and I was shocked to find that after it prompted me for a username and password, I could click the browser's "forward" button, then the "back" button and lo! the protected page appears! Is this a security hole?
  61. Can you show me the code you use for the AuthentiX and WebQuota signup forms - it sends confirmation email and adds the new user to the AuthentiX database...
  62. I have two different websites with different domain names (ie www.abc.com and www.efg.com), and I only want the user to log in once for access to both of them.
  63. Implementing a multiple domain authentication model
  64. Inktomi Traffic Server
  65. I have WebQuota, what are the optimal settings for preventing account abuse?
  66. Can we use AuthentiX as well as maintain IIS directory and NTFS security?
  67. How do I map Authentix to use an NT account?
  68. Password expiration - how is this done?
  69. One time password, to administer tests over the web for students, or downloading files.
  70. I want to use Windows NT/2000 Load Balancing Service for multiple webservers in a cluster. What do I need to consider when using WLBS and/or Microsoft Application Center (MAS) with AuthentiX/WebQuota?
  71. How do I use the OCX in other languages such as Cold Fusion, SQL, Visual Basic etc?
  72. I am using referral (referer) protection however, with MPEGS, WMV's and pdf's it does not work - users are denied access, and with printing CSS I have the same problem.
  73. I'm using one of your advanced authentication methods (eg ODBC-Advanced, or By COM) in conjunction with site-wide cookies. How do I decode the password supplied by AuthentiX to the advanced method so I can compare it with the password value in my data store?
  74. I want the user to be redirected to a sign up page, if they fail to login with Basic Authentication.
  75. I want the option of using my existing NT or Active Directory Accounts as well.
  76. How can I automatically sign up users and have them expire after 90 days, using the internal database, or an ODBC database?
  77. ASP and session ids.
  78. In the Event Log I am seeing [5] Access is denied with message ID's 8729991 and 883762
    Is this a problem?
  79. By referrer issues.
  80. Lots of IIS startup messages.
  81. INSTALLATION

  82. Once we have installed and incorporated the evaluation version will we have to redo the configuration when we upgrade to the purchased version?
  83. Ordinal 6571 (or 6883, etc) could not be located in the dynamic link library MFC42.dll, or OCX error 800401f3
  84. What is the standard installation procedure for IIS4/5?
  85. How to uninstall Authentix?
  86. I tried that, but it won't let me uninstall.
  87. I get an error regarding the Virtual Device Driver during installation
  88. On installing, I get a weird dialog box with dlgcacwinname and ins0432 in it. Then the install fails. What do I do?
  89. I get an error titled "Setup initialization Error". The message is "Insufficient memory to run the setup".
  90. I have tried to install the latest version, however it still comes up with the old version!
  91. IIS4/5 filter installation problems
  92. Installation with Cold Fusion Service Running
  93. The Authentix filter won't stay loaded
  94. IIS4/5 filter installation problems with MS PWS
  95. I'm using IIS and I think I've loaded the filter, but it doesn't seem to be working!
  96. Can I install two copies of AuthentiX on two different sub-webs under IIS4 and above?
  97. I installed the software, but it doesn't protect anything at all!
  98. I want to install the software on a second machine because we are moving the website to this new machine. How do I move the AuthentiX/WebQuota settings to the new machine? (move to, moveto).
  99. I cannot completely uninstall. I am having problems uninstalling. How do I manually uninstall?
  100. I notice that other ISAPI filters with high priorities run first, before AuthentiX. I want to run AuthentiX / WebQuota as a high priority filter. How do I do this?
  101. I'm running IIS6, and after I install the software nothing works! You pop up a dialog box saying IIS needs at least one request to activate, but I can't make any requests at all. IIS6 just hangs. What shall I do?
  102. I'm running IIS6, and I am having problems. In the Application Event Log I am getting:
    RegCreateKeyEx: [5] Access is denied.
  103. I am trying to install but I am getting the message:
    "The image file is valid but is for another machine."
    I understand that this is because it is a 64bit Windows machine. How do I install on 64 bit Windows?
  104. E-COMMERCE

  105. I want to protect pages and sell access to them automatically.
  106. ODBC

  107. Beginner's Step by Step (using an ODBC database)
  108. How do I setup using groups with my ODBC database?
  109. I cannot get past the Authentication dialog!
  110. I still can't get in!
  111. ODBC and Windows 2003
  112. ODBC won't let me in!
  113. The test button works fine, but I cannot login. I turned on "Show Reason in Access Denied Message" and it just says "Bad Password" :-(
  114. Am I using the right SQL syntax?
  115. How to setup SQL database on a different machine, not on the webserver itself. (Can also help with a W2K3 SP2 permissions issue)
  116. SQLOLEDB connection string, and useful MS articles.
  117. ODBC caching? What's going on?
  118. I'm using Oracle with ODBC and it won't let me in!
  119. I just installed MDAC, and now I cannot modify my ODBC database with Access 2000 via the ASP remote admin pages.
  120. How are ODBC and Internal Database groups related?
  121. I need a single username with several passwords with the Internal Database.
  122. I need a single username with multiple passwords with my ODBC database.
  123. ODBC Case Insensitive passwords.
  124. How can I protect access to two dbWeb "schemas"?
  125. I am using Oracle, where are the latest drivers?
  126. I am trying to authenticate with the software and IIS against a database on another machine on my LAN. It doesn't appear to work. What do I need to do?
  127. I am trying to use an SQL database which uses trusted (or mixed) security. The Test button works but it doesn't let me in.
  128. Sample to change password with an ODBC database.
  129. Denied_ODBC_Expired
  130. Inner Joins, Table Qualifiers on the password field in Custom Select Statements.
  131. I am using the remote admin tool with an ODBC database,
    however I am getting 31, ODBC error with statement, error number is: 3704 The operation requested by the application is not allowed if the object is closed.
  132. Stored procedure example for use with ODBC - Advanced.
  133. I've moved on from the Standard and Custom ODBC Select statement and I am in the process of setting up with the "Advanced" ODBC string. Tell me more about this.
  134. Finally! SQL server and the 255 character limit resolved.
  135. If I am using an ODBC database (say SQL Server). Is the remote administration module and properties of the OCX useless to add and remove users from and ODBC database?
  136. I'm using Version 5.3f1 and I am getting
    >Microsoft VBScript runtime error '800a000d'

    >Type mismatch: '[string: ""]'
    in the remote admin.
  137. I've got thousands of files, each of which I want to have different permissions. Customers can buy access to any number of these individual files, and this information is stored in an ODBC database. Do I have to individually protect each file with a different SELECT statement, or is there an alternative.
  138. Is there a way to check for the script_name, the file requested, in the custom select statement? I can't seem to get it to work?
  139. I've tried everything. The Test button works fine, I've set all the optional switches, its a system DSN, I have permission to access the database from IIS, I've read and tried everything else in the FAQ - I'm pulling my hair out, MARIO - help me!
  140. How can I automatically sign up users and have them expire after 90 days, using an ODBC database?
  141. I have a bunch of users in the internal database, and I want to convert to using an SQL database. (Convert to SQL).
  142. ODBC return error -51 rows. This is AUTHX_ODBC_NO_CONNECT, and means that the software cannot connect to the database.

  143. FRONT PAGE

  144. FrontPage Setup
  145. FrontPage Setup - Camille's way
  146. FrontPage Search Bots
  147. When I protect a subdirectory of a frontpage directory, I cannot edit it with Frontpage (or Visual Interdev)!
  148. Sometimes, little features, like hover buttons and other items are protected when they shouldn't be, what can I do?
  149. Everyone is permitted access to change the site with Frontpage!
  150. COOKIE

  151. Cookie-based login
  152. Cookie tutorial
  153. I have an existing personalization cookie and/or session variable. Now I want the additional security that AuthentiX provides. Can I merge the two?
  154. Current user: how do I determine who the current user is, using CurrentUserName?
  155. Migration, ASP, .NET and integration.
  156. I want cookie based login with a form, not Basic Authentication with a pop-up dialog.
  157. I want to encrypt and decrypt the cookie, to get the current username and other information.
  158. Logout a user, tips and traps.
  159. Can Authentix be used to track users before they have logged in, for example for a shopping cart?
  160. How can I create custom / dynamic pages for my users, only showing them links to which they have permission to access?
  161. I'm using cookie-based login. A user bookmarks a page, then the following week she returns to it and is sent to the login page. Now I want to redirect her to her original bookmarked page.
  162. ISAPI Extension.
  163. I'm using cookie-based login, and I have set the cookie to timeout after 10 minutes in the Windows GUI. However it never seems to timeout like I want it to!
  164. I've set up cookie protection for a directory, but when I browse to it, my web browser just goes crazy, in some kind of infinite loop!
  165. All well and good, however I want to protect an entire website with cookies, but I cannot get to the login page in that website!
  166. With Cookie based protection, I am trying to get the cookies to be persistent, but they always seem to expire with the session. I don't want the user to log in each time they come to the site. How do I make the cookies persistent?
  167. With Cookie based protection, I want the user to login once, then have access to multiple different directories.
  168. With Cookie based protection, I've protected a directory //servername/dirname, however when I go to //servername/dirname it prompts for a password even though I have got in successfully to //servername/dirname/ (with the slash included).
  169. I am protecting a directory called "secure" with cookies - it works with IE but not with Netscape!
  170. I am using "site-wide" cookie-login, but the if the the directory just below the root directory changes case, (for example with a link which goes to the same directory, but with upper-case instead of lower case letters in the URL), then the user is logged out!
  171. I am confused about cookie-timeouts on the browser, AuthentiX cookie timeouts, and the limit-concurrent-login timeout.
  172. How do I get cookie-failover to work, so that if cookies are disabled, they will be prompted for Basic Authentication?
  173. OCX/Remote Admin

  174. How do I setup browser based remote administration?
  175. I have the MMC/IIS Properties/Home-Directory application protection set to Medium, or High (IIS5 and above) or NOT "running in its own application space" (IIS4 and above). Then strange things happen with remote administration. I cannot see who is currently logged in as I should be able to. Sometimes the remote administration tool clears the configuration. and I have to restore the adb file.
  176. I'm having problems with ASP remote admin,
  177. I cannot find AuthxRem.dll!
  178. Remote Administration tells me that it has has encountered an error. Code is [5] Access is denied. The file could not be accessed.
  179. I get the message:
    "There is a problem (DomainEnabled returned 5). Unable to write to the configuration file. Ask your ISP Administrator to grant read and write permission to the AuthentiX ISP configuration data directory. Check the Application Event Log for details. "
    What do I do about this?
  180. I get 501 errors!
  181. When I try and add or remove users, I get error code 50 instead!
  182. In the remote admin, I am getting -3 errors, or it just hangs.
  183. I get an error saying "object not found"
  184. I get, "The call to Server.CreateObject failed. The requested object instance cannot be created. " with an error code of 0177:80040154.
  185. I still get an error saying "object not found".
  186. I cannot update the OCX, I cannot delete the old one.
  187. Error message with sendmail
  188. When I use the sendmail method, I get 'cannot open socket'.
  189. Could not open socket 25
  190. I am using the remote admin tool with an ODBC database,
    however I am getting 31, ODBC error with statement, error number is: 3704 The operation requested by the application is not allowed if the object is closed.
  191. I'm getting VBScript runtime error '800a01ad': ActiveX component can't create object.
  192. I'm getting error 1450 in the event log.
  193. With the remote admin/OCX component I'm getting Failed on creation from object context: CoCreateInstance
  194. I cannot create the AuthentiX object in ASP! I get an Event log message about ccontext.cpp
  195. If I am using an ODBC database (say SQL Server). Is the remote administration module and properties of the OCX useless to add and remove users from and ODBC database?
  196. MISC

  197. I have a "webfarm", of 15 web server machines. I want to have a single location in which to manage my users and groups. How can I protect directories on each machine from a single location?
  198. Current user: how do I determine who the current user is, using CurrentUserName?
  199. How can I import a bunch of usernames and passwords from a text file to the internal database, without having to type them all in again?
  200. Do you do custom work and consulting?
  201. HTTP/1.0 403 Access Forbidden.
  202. I am using MS Proxy 2 and IIS 4/5. We can get to the member area from our internal network, but not from the internet.
  203. IIS4/5, a virtual web site in its own memory space, and reason=denied_cookie_timed_out
  204. I notice that once authenticated, I am able to view any directory - even those which I do not have permission to view. How do I fix this?
  205. I get an error regarding the Virtual Device Driver during installation
  206. Filtering searches using Index Server
  207. I try and save a change, and I get Could not save to file!
  208. I am using AuthentiX/WebQuota ISP, however I cannot get into any of my websites when AuthentiX is installed. I turned on the Option to "Show reason in Access Denied message", and I get DENIED_INVALID_3b
  209. I am concerned about encryption/encoding. Does AuthentiX encrypt passwords with Basic Authentication? How about with cookie-based AuthentiX authentication?
  210. How do I get the user's name and password from within a C++ ISAPI DLL?
  211. I am trying to use server.MapPath on an AuthentiX protected directory but I cannot get it to work!
  212. When I login, all my ASP session variables seem to disappear!
  213. ASP 0115 a Trappable Error Has Occurred
  214. In the event log, I am getting Failed to Create/Open File (1): filename.
  215. In the event log, I am getting Accept raw header overflow
  216. In the event log, I am getting "(!m_directory.IsEmpty())", "(!m_codeName.IsEmpty()", or "AXISP (7726725) error, directory not set"
  217. In the Application Event Log, I keep getting messages like "Successfully Loaded Configuration Data". . What's wrong?
  218. How to protect a directory that is specified via UNC like this:
    \\theweb\$d\inetpub\wwwroot
  219. I am getting "Invalid License (Code4)!, (code 4) The software has not been installed correctly. Invalid license (Code5)! (Code 5)
  220. The installation went fine, but I'm having trouble making the authentication via the NT database work at all.
  221. I have two websites that have differently named domains: www.economics101.com and www.economicsToday.com. How do I get a single logon, that permits the browser to go to both domains, but doesn't popup a second login dialog when I go to the second domain?
  222. I am using Windows 2000, IIS5, and the log files are not reporting the correct filesize, so that the reported number of bytes sent is incorrect.
  223. I am using AuthentiX ISP, and the IP addresses on my machine don't show up!
  224. I am using the Extensibility SDK with a COM object written in Perl for authentication. However I am getting Could not AfxOleInit (2) and RPC_E_CHANGED_MODE in the event log, and I cannot get access with a valid username password.
  225. I would like to use AuthentiX in combination with LDAP, How can I do this?
  226. Mac client problem with Frames not showing graphics or images?
  227. The adb file has been trashed! What happened and how do I fix it???
  228. I am getting saveLoadMutexLock failed in the event log.
  229. 16bit, 16-bit 16 bit errors on Installation.
  230. I am getting ugly bitstreams in IE, instead of my Word/Excel/otherApp document? Why?
  231. PHP sample.
  232. Problems with HSphere/H-Sphere
  233. VideoQuota

  234. I cannot access any WMS files! I am getting an NSUnicast Error in the application event log, with the message "The Windows Media Unicast Service Plugins encountered a catastrophic failure." in plugin: "VQTrack ErrorCode=0x80040154."
  235. How do I change the VideoQuota realm?
  236. I want to protect both WMS served video, and IIS served webpages with Basic Authentication, but I only want the user prompted once.
  237. I am running WMS and IIS on the same machine, they seem to conflict!. IIS doesn't work!
    You must set Windows Media component services to be dependent on the Web service so that the Web service can bind to port 80. If you do not set this dependency, then Windows Media server components might bind to port 80 first, and the Web server will not function properly. These steps are specific to using Windows Media Services with IIS 4.0 or later. If you use Windows Media Services with a different Web server, check the documentation for that server for instructions on setting dependencies.
  238. VideoQuota and protecting By Referrer.
  239. Embed video.
  240. In the Event Log, I have a message that just says "No g_pServer."
  241. Windows 2000

  242. Windows 2000 Compatibility
  243. Windows 2000 and aspAdmin remote administration Error: 50;
  244. I change the user's info via remote admin, but the change doesn't seem to stick!
  245. I change the user's info via the Windows GUI, but I have to restart IISAdmin to see the changes!
  246. I'm using Windows 2000 and I really like being able to see who is currently logged in with the aspAdmin remote admin module. However I cannot see any currently logged in users even though I know I am logged in!
  247. ASP /.NET RESOURCES

  248. Creating a Runtime Callable Wrapper.
  249. Loading up the AuthentiX COM object in .Net
  250. Example of use in an aspx page
  251. Example of use with "code-behind"
  252. Sample aspx code you provided doesn't work!
  253. GroupAddNewUser - how do I make the expiration zero or null?
  254. Duplicates in the Event Log?
  255. VB.Net sample

Q. Beginner's Step by Step with the internal database.

A. If you are running the software for the first time, here are the steps you need to take to protect a directory using the internal Database:

First make sure you can access the directory you wish to protect freely (via http://...), without any IIS/NTFS protections.
Use Netscape for this, since IE will sometimes log you in with your current login without telling you.
Make sure the directories you are trying to access have Read (and execute) Permissions for Everyone with NTFS.
Make sure Basic Authentication is turned OFF in IIS5 (and above) Management console, otherwise it will conflict with AuthentiX Basic Authentication.
Make sure Allow Anonymous is ON. NTCR can be ON or OFF.

  • Create a user. From the main dialog, click the Users button, Then Add. Type a username and password and press OK. You should now see the user in the user list. Press OK.
  • Create a group. From the main dialog, click the Groups button, Then Add. Type a groupname and then click on the user you just created in the non-members list box. It should be highlighted. Now click Add. The user should now be moved to the Members listbox. Press OK. You should now see the group in the group list. Press OK.
  • Protect a directory. From the main dialog, click the Access button, Then Add. Use the Browse button to select a directory that is part of your web directories, and that you would like to protect. Click on the "By Internal DB" tab, then the "By Group" button and add the group you added above to the Permitted list. Press OK. You should now see that the group is protecting that directory. Press OK. Press OK.
  • Use a browser to go to the URL that the directory is accessed from, using IIS5 (and above), via http. It should prompt you for your username and password.
  • Type the username and password you entered above to gain access.

NB: To change the Access Denied message, click the "Basic/Cookie" tab, and click the Messages button.

Back to the top of the FAQ

Q. Beginner's Step by Step with ODBC.

A. If you are running the software for the first time, here are the steps you need to take to protect a directory using an ODBC datasource: First make sure you can access the directory you wish to protect freely (via http://...), without any IIS/NTFS protections. Use Netscape for this, since IE will sometimes log you in with your current login without telling you. Make sure Basic Authentication is turned OFF in IIS Management console, otherwise it will conflict with AuthentiX Basic Authentication. Make sure Allow Anonymous is ON. NTCR (Integrated Windows Authentication in Windows 2000) can be ON or OFF.

Also see here.

Note: You can administer and setup ODBC via a webbrowser using the remote administration. However you need to know the structure of the database, and the exact form of the Connect String for the System DSN. Selecting the Connect String from the console is conveniently easy and straightforward.
Set up the DSN from the console, or have your ISP do it for you.

Back to the top of the FAQ

Q. How do I protect individual files?

A. You can use the following tip: Hi,
Downloaded your software and it looks great. I will be purchasing it today. By the way, I typed in the full pathname of a filename into the Browse edit box in the Authorization dialog - and guess what - it protects just that file!
--Jon

Thanks Jon! The software adds a slash to the end of the filename, aside from that it works just like you say!

Back to the top of the FAQ

Q. I have the MMC/IIS5 (and above) Properties/Home-Directory application protection set to Medium, or High (IIS5 and above) or NOT "running in its own application space" (IIS4). Then strange things happen with remote administration. I cannot see who is currently logged in as I should be able to. Sometimes the remote administration tool clears the configuration. and I have to restore the adb file.

A. Go to MMC/IIS and right click on the website and select Properties. In the Home Directory tab, make sure the Application protection level is set to Low (IIS Process). You should be able to set this value on the aspAdmin directory itself.

Because the software is implemented as an ISAPI filter, ASP programs accessing the AuthentiX OCX module need access to the datastructures in the IIS process itself. If application protection is set to one of the ASP debugging levels (Medium or High), then this access will be unavailable.

Back to the top of the FAQ

Q. I'm having problems with ASP remote admin,
A. Check out the OCX/ASP Component Problem solver

Back to the top of the FAQ

Q. When I have set up protection for a directory, I can get in with Internet Explorer when it prompts me for the Username and Password. However when I use Netscape, I type in the Username and Password, then it gives me another dialog to type in the username/password, this time with no Realm. When I cancel out it says "Error - access denied".

A. Looks like the directory is protected with NTFS. IE will use your login name behind your back (especially if you are on the same machine or local network) to let you in. Use Netscape Navigator and try to access the directory without any protection with the software. Free up the permissions on that directory so that Netscape can get in. Then put the software protection back. That should fix you up.

Back to the top of the FAQ

Q. ODBC and Windows 2003

A. You will be pleased to note that Windows 2003's is locked down much more than Window 2000.
You won't be so pleased to learn that this can make it harder to create DSN strings, and harder to successfully connect to the database.

One user found that everything was working on Windows 2000 but when moved to W2K3 the AuthentiX filter was not able to gain access to the database, with the following message in the Event Log:

General Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. - 28000

In the second dialog for setting up System DSN, he was using Network Logon for Trusted Connection. Changing this to using SQL Server Mixed Authentication (SQL2000) with a matching account in SQL Security, solved the issue.

Adding the NT Authority\network service (s-1-5-20) user to the admin group may help.

Also, see here.

Back to the top of the FAQ

Q. The test button works fine, but I cannot login. I turned on "Show Reason in Access Denied Message" and it just says "Bad Password" :-(

A. Make sure that the DSN you are using is a System DSN. Other DSN's are not accessible to system processes such as IIS.
Also note that the "Test ODBC" button may work properly with non-text or multiple-word fields, but the web authentication may fail. Make sure you are using text fields and that the field names do not contain spaces.

The Test ODBC button differs from using the ODBC connection from the filter in the following ways:
1) The Test ODBC executes in the permission context of the logged in user. So if that user has permissions, all will go well for the Test button. However the ISAPI filter logs in as the system account, which usually will not have permission to access resources not on the local machine. If you need to access a database on another machine, try using the "Impersonate User when Accessing Database" settings.
2) The statement executed, does not include the where clause for the username. So it only executes
Select password from tablename
and comes back with a count of all users. As opposed to the ISAPI filter, which will execute
Select password from tablename where username='suppliedUsername',
and will come back with one entry, if there is a match for the username. Then the filter compares the returned password with the supplied password.

Back to the top of the FAQ

Q. I just installed MDAC, and now I cannot modify my ODBC database with Access 2000 via the ASP remote admin pages.

A. With newer versions of drivers and databases, permissions can become an issue where there was no issue before.

Make sure you grant Change permissions for IUSR_MachineName (and IWAM_MachineName where appropriate) ,where MachineName is the name of your machine, to the directory containing your database, and everything within and below that directory, including the database itself.

Back to the top of the FAQ

Q. Single user name, multiple passwords with ODBC database?

A. It is normally best to have the username as a unique key. However, if you have multiple users with the same name but different passwords, then you can set a switch in the registry to tell the AuthentiX to add " AND passwordField='passwordEntered' at the end of the select statement (standard or custom select).

To make this happen, using regedt32.exe, add a value in the registry

HKEY_LOCAL_MACHINE
	/Software
	/Flicks Software
	/AuthentiX
	/1.0
	/AuthentiXConfig
of type REG_DWORD with the name addPasswordToSelect.
Make its value 1.

Note: the software caches successfully logged in ODBC usernames and passwords for performance reasons. If a username logs in with one password and another tries to login with that username using a different password (while the first is still in the cache), then the second will not be able to get in, because the ODBC database will not be queried again.
To turn off this caching, go to the options dialog/ ODBC options, and set relevant checkbox. This will disable the cache and query the database for every request. This may have a performance impact.

Then stop IIS Admin Service (IIS4 and above) or World Wide Web Publishing Service (IIS3) from the control panel and restart.

This really isn't recommended because of the performance issue.
It will not work if for example you are using cookie-based login, where the passwords need to be decrypted and/or hash-matched first.

NB: This ability is intended to help ease the transition to a database with single username/password combinations. It works for the most common scenarios, but may not be fully supported for all functionality, for example cookie-based login with ODBC. Additional custom upgrades may be required, if you wish to persist in using multiple passwords with a single username.

Alternatively:

You could use the "By COM" option (with the Extensibility SDK), and specify the Option: "Call On Every Request". This option will bypass the built-in username/password caching, and you can check usernames passwords etc with any scheme you wish.

Back to the top of the FAQ

Q. How are ODBC and Internal Database groups related?
How do I setup using groups with my ODBC database?

A. ODBC users and Internal Database Groups are not related at all!

If you are using ODBC and you want groups, then make groups a part of your database, and the use the custom select statement for each directory

Add a field to the usertable indicating the access priviledges for that users. This could be a hierarchical priority level ("A", "B", "C") or group membership ("Vendors", "Wholesalers", "Customers").

Then use the custom select statement on each directory you want to protect, setting the select statement to reflect the group, eg
Select Password from Users Where AccessLevel='Customers' AND user= etc.

Back to the top of the FAQ

Q. I am using the ODBC interface with Oracle, and when I hit the Test button it doesn't work :-(

A. The DSN setup does not automatically add the password field to the DSN string. Try adding
PWD=password
after the last semicolon in the DSN string, where password is the password you use to access the database.

Also note that with Oracle, all variable names must be capitalized.

Back to the top of the FAQ

Q. I get into the the protected area, but it keeps re-prompting me with multiple prompts for a username and password.

A. Always make sure that Basic Authentication in IIS/MMC is turned off.

If you are including images, make sure the images are in a sub-directory of the protected area.

If you are using frames, make sure that all the frame components are in the same directory, and that it is the same protected directory.

When you are prompted the second and third time, what is the realm indicated in the prompt dialog? If it is not the same as the one set by AuthentiX, there is a file being protected by IIS/NTFS. When you escape out of the prompt, you should see an Access Denied message. If this is not the one you set with AuthentiX, there is a file being protected by IIS/NTFS.

If you are using ODBC to validate users, and you are getting reprompts that cannot otherwise be explained, try setting the "Impersonate NT User" in the ODBC settings for that directory's protection, to an NT account that has valid access to the database.

Windows2000
With Windows 2000, Everyone has only list permissions within the inetpub directory by default, even though the advanced properties say they have read and execute, they are not inherited by default like in IIS4/5.

AuthentiXISP / WebQuotaISP

If you are protecting content on several drives using Basic Authentication, make sure that the realm is the same for each.

HTTP Keep-Alives
Try turning off HTTP Keep-Alives, some filetypes (eg pdf files) will multiple prompt, because the browser asks for information in 1mb chunks (or thereabouts), but only supplies the username and password for the 1st chunk, which will cause multiple prompting. Sometimes quitting out of the 2nd and subsequent prompts, allows you to see the file anyway, which is what you want, but is somewhat disconcerting.
You turn off HTTP Keep-alives by going to the master properties for the website (In IIS/MMC) and turning off the corresponding checkbox.

Also see here

See also here.

Back to the top of the FAQ

Q. The software keeps prompting me (three times or more!) on the page in the protected directory. It is a terrific page, it's got stylesheets, framesets, a whole bunch of cool gifs, all the latest stuff and more. Why am I having problems?

A.
Likely you are including something outside of the protected area, the browser is sending the credentials (username/password) to the non-protected area, and IIS thinks it should authenticate the request, but it doesn't recognise the AuthentiX username/password. This is why you are seeing the pop-up dialog with a different realm than the realm specified in AuthentiX.

[NB, see also here]


Alternatively, you could be using a complex set of html/asp features, that is confusing the browser, so that the browser is sending authentication information in the http header when it should not be, or failing to send authentication information when it should be.

Create a directory with just one simple htm file in it. Protect it with AuthentiX and see what happens. If all is well, add a graphic and an <img src> tag. If all is well, keep adding things from the page that is not working right, one by one, until you get the problem. The last thing you added after the last edition that was working right is what is causing the problem.

Additional info:

If you are using ASP server object features such as MapPath, then check this FAQ.

You could also try turning on NT Security Auditing for the directories and files in question, and check the event log for more information.

One user reported that turning on logging would stop reprompts (!). As far as we know there is no possible relation between logging (which happens right at the end of a request) and authorization (which happens right at the start). We have only heard of this one time, but if it happens for you, let us know...
Another user reported this (Windows 2000/IIS5), and turning on logging fixed it! (10/1/04)
And a third (Windows 2000/IIS5/SP4).

An additional workaround (particularly useful for users experiencing problems with Excel, PDF, and Word files) is the following:

If you are reprompted for excel files, but not for jpg s in the same directory, then it is most likely an issue of how the excel file handles the authentication.

For those files that reprompt, you could get the current username:

http://www.flicks.com/fbeta/q_and_a.htm/TechnicalSupport/who_is_the_current_user.asp

then populate the link using the following formula:

http://username:password@www.website.com/directory
(but see here).

where username is the username variable and password is the password variable.

Back to the top of the FAQ

Q. I have been able to protect Real streaming files with WebQuota by saving them as .rm files .... but my visitors receive a double prompt for a username and password the first time they log in. How can I fix this?

A.
This is a fairly easy solution. To eliminate the double prompt, you will need to create a redirect page. This redirect page will get the current username, form a link with the username and password hard coded within it (user the format http://username:password@www.website.com/filename - but see here), and redirect the user to that link.

Instead of linking directly to the .rm file, link to the redirect. You members will not know the difference!

Link to trace failures
TRACE FAILURES (trace access denied)

New in 5.2d2 there is a debug mode that you can enable as follows: In

HKEY_LOCAL_MACHINE
	/Software
	/Flicks Software
	/AuthentiX
	/1.0
	/AuthentiXConfig
create a value called traceAccessDenied, of type DWORD, and set it to be 1. Stop and restart IIS Admin Service (IIS4/5 and above) or World Wide Web Publishing Service (IIS3) from the control panel. You have to stop IIS Admin from the control panel/services, not just a subweb in Internet Manager.

Try logging into the page again. When it fails, check out the application event log. You should see various extra entries and they should say things like this:
The description for Event ID ( 0 ) in Source ( Flicks Denied ) could not be found. It contains the following insertion string(s):
Denying *Empty user name* for F:\x1\x2\graphics\index.gif, protecting path is f:\x1\x2\
or
Denying Raxer for F:\dir1\dir2\graphics\index.gif, protecting path is f:\dir1\dir2\

Inspect all the values and output generated, they should give extra clues as to what is going on.

Back to the top of the FAQ

Q. 2. I understand that I can use ASP to let the user create his own UID and Password. Can you point me where I can get the sample code :-) ?

A.

There are several samples in the aspocxsamples subdirectory of the installation directory. More are being added over time.

The aspAdmin directory contains a comprehensive ASP working example of remote administration.

If you have some ASP files working with that you are proud of and would like to share, let us know and we'll see if we can get them in the next release.

If you want the samples, and your website is hosted at an ISP, you can always downlaod the free trial, and get the samples that way.

Back to the top of the FAQ

Q. What happens if I use AuthentiX to protect a directory, then use it to protect a sub- directory of that directory?

A.

The protection associated with the lowest (longest) path name takes priority.

Back to the top of the FAQ

Q. How can I import a bunch of usernames and passwords from a text file to the internal database, without having to type them all in again?

A. Create a group and import to it.

Back to the top of the FAQ

Q. Do you do consulting or/and custom coding?

A. We are always very busy. If your project is consistent with our development goals, we do consider taking on custom work.

We are always happy to provide technical support for our products:

Back to the top of the FAQ

Q. How do I change the access denied message and the realm?

A. Use this dialog.

Back to the top of the FAQ

Q. What kind of performance hit is there with the software loaded?

A.

Performance statistics for IIS Website with 
600,000 hits per day. 12 Virtual Directories.	
Mostly static pages. Your mileage may vary.

System: Pentium 90 with 64 Mb Ram. 
IDE Hard disk drives.

Without the software

	Processor time      27%
	Bytes Total/Sec     60000
	Anon Users          160

With the software

	Processor time      35%
	Bytes Total/Sec     60000
	Anon Users          160


Back to the top of the FAQ

Q. Single user name, multiple passwords with the Internal Database?

A. Currently, there can be only 1 unique user name across all groups. However, group 'sale' can have user 'win', group 'support' can have user 'win' too.

AuthentiX ISP has separate adb files. http://www.flicks.com/authentix_isp/

Back to the top of the FAQ

Q. I want to protect pages and sell access to them automatically.

A.

First you need to setup your website, either on your own machine with your own dedicated internet connection, or with one of our recommended ISP's. Create a directory containing the content to which you want to sell access.

You need to be able to accept online payments. You can either setup your own merchant account and connect this up to one of our recommended credit card clearers or discuss your requirements with one of our recommended credit card clearers and use their merchant credit card account.

Protect your saleable content directory with AuthentiX and an AuthentiX internal database group. This group should match the group coded in the free script mentioned below.

Use one of the free Credit-card-clearer AuthentiX integration scripts (each credit-card clearer has a slightly different version). Work with your selected Credit-card-clearer to make sure this is setup right for your environment and works for you.

Use the html order form supplied by your selected Credit-card-clearer to let customers order access to your protected content.

The combination of the free integration script, your credit card clearer, your ISP (if appropriate), and the order form will allow you to automatically sell access to protected pages.

Other notes:

  • If you just want automatic signup, without charging money, as with the signup for AuthentiX and WebQuota (which uses the email address as the username and sends an email to the person signing up), then check out the sample in the installation directory
    "\ASPocxSamples\WebQuota Signup Sample"
  • If you want to send additional emails to yourself, confirming various other order details, then you can modify the free installation script, which is called after the order is accepted, and before the customer is granted access. See the bonus OCX method SMTPSendMail or the dedicated email products OCXMail and ocxQmail.
  • If you want to signup users for 30, 60, or 90 days, then carefully refer to the signup sample and modify the free signup script appropriately.
  • If you have, or anticipate a large number of users, consider using an ODBC database instead refer to the ODBC signup sample and modify the free signup script appropriately, and refer to the ODBC FAQ and related documentation.

Back to the top of the FAQ

Q. Ordinal 6571 (or 6883, etc) could not be located in the dynamic link library

or

 server object error 'ASP0177:800401f3
 the call to Server.CreateObject failed.
 the requested object instance cannot be created
[Note: if you get this error, it is worth doing
regsvr32 authxocx.ocx in the installation directory as a first step, then try again]

or

regsvr32 <module>.ocx returns
"Get last error returns 0x000000b6"
or
you see the following when installing the software:
Installation attempted to update the file
MFC42.dll
but failed.

A.

Note Flicks Software products require Windows NT/2000 and above.

Also see here and here

Flicks Software products as of 12/16/98 use the latest version of the mfc42.dll support file from Microsoft.
The products come with and require the latest version of the mfc42.dll dated 9/26/98, size 995,383 (File Manager - winfile.exe) 973k (Explorer), File version 6.00.8267.0, product version 6.0.100.

  • Exit the installation program.
  • Make a backup copy of mfc42.dll (likely location: C:\WinNT\system32\mfc42.dll)
  • Download the latest mfc42.dll: http://www.flicks.com/mfc/mfc42.dll and save it into your system32 directory.
  • If you cannot save (access denied: in use) then try and delete mfc42.dll in the system32 directory
    • If you cannot delete the file (access denied: in use) then move or rename mfc42.dll to mfc42.old.
    • Download the latest mfc42.dll: http://www.flicks.com/mfc/mfc42.dll and save it into your system32 directory.
    • Reboot
    • Install the software again.

Installation should update mfc42.dll. However if it is being used by other programs, the older version will remain locked in place.

Back to the top of the FAQ

Q. Office2000 and IE Basic Authentication - inconsistent behaviour.

A. Several customers have reported that Office2000 does not work properly with Basic Authentication, whether it be AuthentiX Basic Authentication, or the Basic Authentication provided by Microsoft in IIS.

Office2000 will prompt for Basic Authentication username and password even though this has already been supplied for the requested directory. It may prompt a second time.

If you have already supplied a username and password to get access to the contents of the directory, then it doesn't matter whether the username and password are entered again (ie you can escape out of the pop-up prompt) and you will be able to view the document.

If you enter the URL of the document directly, it will require a valid username and password, however IE will present the document as a stream of binary data.

Needless to say, this is a less than satisfactory user experience. Contact Microsoft to ask when they will provide a fix.

See also here.

See also here.

NOTE:

  • The problem occurs with any Basic Authentication method, IIS built-in with Windows NT/2000 Accounts, or AuthentiX
  • Netscape does not have this problem.
SRF000330663894


Back to the top of the FAQ

Q. How to setup SQL database on a different machine, not on the webserver itself. (Can also help with a W2K3 SP2 permissions issue)

A. Hopefully the following will help set this up. Configurations vary so widely it is not possible to document them all here. Sometimes patience is needed (!)

7/7/2005:
With W2K3 and SP1, two new groups have been added:
Distributed COM Users
IIS_WPG
When you impersonate an NT user when making the ODBC call (usually with an Administrator account), make sure this account is a member of these two groups.

You will need to use the SQLOLEDB driver, instead of the default SQL driver normally presented in the ODBC control panel. The SQLOLEDB driver will not be visible here, and it shouldn't be.

The SQLOLEDB driver is available in the MDAC (Microsoft Data Access Components) package.

Create an SQLOLEDB connection string (see below).
Driver{SQL Server};Server=ServerName;Database=databaseName;UID=sa;PWD=;

eg
ConnectionString="Provider=SQLOLEDB.1;Password=WebUser1;
Persist Security Info=True;User ID=WebUser1;
Initial Catalog=VideoQuota;Data Source=MMS-ITVMEDIA;
Integrated Security=SSPI"
Here is a recent working sample:
Driver={SQL Server};SERVER=MACHINE_NAME;Provider=SQLOLEDB.1;
Password=user1;Persist Security Info=True;User ID=WebUser1;
Initial Catalog=CATALOG1;Data Source=MACHINE_NAME
And another:
Driver={SQL Server};SERVER=servername;Persist Security Info=True;
Database=dbname;UID=userid;PWD=password
Carefully match up the parameters on your connection string with the above example.

You may need to set up the appropriate SQL user/pass to access the database, as well as an NT user/pass that matches and is good for both machines. Make sure your SQL account has permissions to access all the relevant tables and procedures etc.

How to get it right every time:

  • First, catch your connection string.
    The best way to do this is to create an ASP/ADO page on the webserver, that connects to and reads from your Database. Likely you have already done this in order to add/change usernames/passwords in your database from the web.
    If not however, there are many excellent resources to help get this setup, including www.wrox.com, this great article at 4guysfromrolla, www.asp101.com (especially this article on connection strings), aspAlliance.com, etc. and Microsoft articles! BEGINNERS will enjoy this article from WebMonkey's Jay Greenspan
    Also see http://www.connectionstrings.com/.
    If these don't help, then since you are using only ASP, ADO, SQL and these are all Microsoft products they will be able to fix you up, (probably for a Tech Support fee though).
    Even so, most of the bases are covered by referring to the format of the SQLOLEDB Connection string above (and below).
  • In the ODBC setup dialog, paste this connection string into the Text Box next to the Data Source button.
  • Use Standard Select to begin with.
  • Press the Table button, it should come up with a list of Tables in your database. This is the first hurdle to overcome. Should there be permission errors, try the "Impersonate NT User" Option, and check your SQL user/pass.
    Note also, that if you check the "Impersonate NT User" Option, the Test button may fail, however, the actual filter database access can succeed. Give it a try.
  • Fill out the username and password fields.
  • Press the Test button. Check and resolve any error messages.
  • Now try to access the protected directory via the web (http).
  • If it doesn't work perfectly, check the "Show reason in access denied" (Options dialog), and try again.
  • If this doesn't help, check the Application Event Log for clues. Perhaps the NT user you are impersonating does not have
    "Act as part of the Operating System" advanced user rights. If it doesn't then add them (if you are logged in under that account, logout/login or reboot to apply the changes). The same goes for the
    "Log on locally" privilege. Otherwise you will likely get "[1314]A required privilege is not held by >the client" when using the Test button. To add privileges: Control Panel, Administrative Tools, Local Security Policy, Local Policies, User Rights Assignment. (Phew! knew where it was in NT4, took some finding in W2K!).
  • If this doesn't help, open the SQL Profiler, and check the SQL is getting through to the server and correctly executing.
  • If it is still not working, it is time for MARIO to help us...
That being said, Cory has some additional insight for his setup:

Here's the final version:

Driver={SQL Server};SERVER=206.xxx.234.xxx;Persist Security Info=True;Database=dev;UID=xx;PWD=xxxxx;

A few things I experienced went against the FAQ page, and I thought I'd make note of:

1. Your FAQ #94 needs an equal sign after the "driver" in the first example, as in "Driver={SQL Server};".

2. SQLOLEDB would never work, even though several combinations of the connection string worked in ASP.

3. It wasn't clear that integrated NT security was not required.

4. While I was trying to get integrated NT security to work, I kept getting "A required privilege is not held by the client", even though the user I was using had both "act as operating system" and "log on locally rights", and also had full control of all databases, which was all set up prior to installing AuthentiX.

Thanks Cory!

Back to the top of the FAQ

Q. SQLOLEDB connection string, and useful MS articles

A. Should be of the form:

ConnectionString="Provider=SQLOLEDB.1;Password=WebUser1;
Persist Security Info=True;User ID=WebUser1;
Initial Catalog=VideoQuota;Data Source=MMS-ITVMEDIA;
Integrated Security=SSPI"
Also see this useful article from Microsoft:
Q247931: Authentication Methods for Connections to SQL Server in Active Server Pages
and
Q176379: IIS and SQL Server on Separate Machines with Trusted Connection


Back to the top of the FAQ

Q. I have some questions about ODBC caching. I understand that the ODBC user requests are cached and there are settings to control expiration etc. If the request is authenticated from the cache does it look it up again real-time? (i.e. if a currently logged-on user changes password and the user id is located in the cache, will it re-validate or what will happen?

A. From the windows help file:

If you have set up and enabled an ODBC authorization database (see Set Up ODBC), you can adjust the following options:

  • Minutes between cache cleanup (default = 10) — The Software caches user lookups. This value determines how frequently the cache is emptied.
  • Minutes to discard old users (default = 10) — If a user has not accessed a protected directory in this number of minutes, the user is deleted from the cache.
  • Minutes between forced user lookup (default = 60) — Determines how frequently to check a user’s username and password. This feature makes it possible to “kick out” a user who has been accessing a protected directory continuously for a very long time. You can change his or her password., and after the number of minutes entered here, the user’s name and password will be checked and the user will be denied access to the protected directory.

You can use the ODBCRemoveUserFromCache OCX method to force a user to be removed from the cache,

Back to the top of the FAQ

Q. Are there any log files generated by the software?

A. The software notifies IIS of the username of each authenticated request, and then IIS will place this info in the IIS configured logfile.
Note that with IIS4, by default you will be using W3C extended logging format by default, and you must click on the Properties button, go to the extended properties tab, and enable the Username checkbox. Otherwise usernames will not appear in the log. Refer to your IIS documentation for more details.

See also the Options/Audit button, to have AuthentiX create an audit log in the text file you specify.

Back to the top of the FAQ

Q. Migration, ASP, .NET and integration.

Our company, like so many, is rushing to migrate all of our existing web applications from ASP to ASP .NET. However, this process is taking time as we strive to manage our new project development and still migrate old development.

With that said, we need to put an authentication process in place that will work with our new .net web applications and old ASP applications.

Our hope is to create a single portal that will authenticate a web user and then give them links to access all of our different online applications (both ASP & ASP.net).

All of our applications are running on a single server. (Windows 2003, SQL Server 7, IIS 6) The applications are however running under different websites. We have approximately 5 different websites. We are currently working to combine all of the applications and sites into a single website as we migrate everything to .NET. However, that currently isn't the case.

Our Need: We need to authenticate the user one time and then allow them to move between the different applications. Again, some of the applications are setup within different web sites and some are ASP others .NET.

A. This is an excellent question.

I suggest that you use AuthentiX with cookie-based authentication.

set this up per the instructions and note how the easyloginnow.asp works - it receives the username and password from the login form, and creates the AXCOOKIELOGIN.

You can modify easyloginnow.asp so that it also sets up session variables etc that are required for your other mechanisms. Or you can take another .NET login aspx file, and modify that to create the AXCOOKIELOGIN as is done in easyloginnow.asp.

Please let me know if you need further help.

Back to the top of the FAQ

Q. I am using MS Proxy 2 and IIS. We can get to the member area from our internal network, but not from the internet.
I am prompted, and a valid supply username and password is supplied, then I am asked a couple more times, and eventually it is as though an incorrect

A. Hi Kevin!

I have finally solved the problem. It was the Proxy server that caused the problem.
As I mentioned before we access our webserver through a proxy which is on a different domain. This is why everything worked internally, since the proxy is never used for internal traffic. This is what happens.

When trying to access the protected directory, AunthentiX displays the login dialog.
When the user clicks OK the web service on the proxy tries to login with the username and password entered. This will of course not work, since no such NT user exists. What you must do is to uncheck the Basic (Clear Text) and NT Challenge Response in the web service on the proxy server (the proxy server uses the web service to authenticate users). Once this is set, all authentication is forwarded to the real web server. This regards IIS and MS Proxy 2.0 I don't know if it would work in the same way with IIS 3 or Proxy 1.

Back to the top of the FAQ

Q. The REMOTE_USER environment variable is not being set for CGIs if a directory is protected by the software. How do I get the login name?

A. This is to be expected. If REMOTE_USER was set, then IIS would try to authenticate against NTFS, which would disallow all entry. Instead, you can use the OCX component to find out who is logged in, http://www.flicks.com/authentix/currentusername.htm You should be able to add the component to your cgi program. or you can get it out of HTTP_AUTHORIZATION and then base64 decode it.

Back to the top of the FAQ

Q. When I start the program, I get "Could not CreateDispatch (21434), did you regsvr32 on the dll containing FlicksIISInstall.Install"

A.

The automated IIS filter install (which is not working for you), requires a vbruntime dll MSVBVM60.DLL, which is missing from your machine. The required vb runtimes are included any machine that has IIS4 (and above) installed, however they must have been removed since the IIS4 (and above) was installed.

You can download the zipfile containing the dll here.
Unzip it into your system32 directory and reinstall the software.

This dll is included in Flicks Software versions 5.1f and above.

(Thanks go to Tom Kelleher).

If this still does not work,try manually installing, according to the instructions given in the dialogs on installation.

Back to the top of the FAQ

Q. I am going to upgrade and I want to make sure that installation will not overwrite my existing setup and configuration.

A. The setup and configuration information is stored in authxdb.adb in the installation directory (authxISPData/*.adb for ISP versions).
Make sure you backup these files at regular intervals and before you upgrade.

So long as you uninstall and reinstall to the original installation directory, your configuration will be preserved.

If you are using WebQuota and have set additional IP Addresses in Options/AOL-Limit-Logins, you need to copy the machine's list of IP Addresses out of the registry, using regedt32.exe, here:
HKEY_LOCAL_MACHINE
/Software
/Flicks Software
/AuthentiX
/1.0
/AuthentiXConfig
/mzAOLData

and paste them back in after the install.

Also see upgrading

Back to the top of the FAQ

Q. AuthentiX and AuthentiX ISP - what is the difference between AuthentiX ISP and AuthentiX with a license for multiple DSN's?

A.

First, see here.

AuthentiX ISP is for Internet Service Providers who need to support multiple customers each with their own community of users. Each customer is able to remotely administer access to their subdirectories (and only their own subdirectories)

Each customers database of usernames is separate and private from others. Customers are distinguished either by their domain's IP address, or by their host-header domain name.

If you have multiple customers, and you administer their username/passwords yourself, you could use AuthentiX with the unlimited DSN license.

However if you want them to do their own administration and it is important to you (or your customers) that each customer is unable to edit another customers usernames/passwords/configuration, then you would use AuthentiX ISP.

Back to the top of the FAQ

Q. I have heard a lot about AuthentiX and it sounds great! Our website hosted at an ISP/WPP (internet service provider/web presence provider). Can we use it on our website hosted at the ISP?

A. Certainly. You need to discuss your specific requirements with your provider. They will need to agree to install AuthentiX on their server for you.
(Note for the ISP: AuthentiX and its variants are based on an ISAPI filter, and need to be installed via the console on the IIS machine your website is running on. Also see the note below about Sharing)
If your ISP is unwilling or unable to install AuthentiX, then many other ISP providers already offer an AuthentiX plan. Here is a list of approved providers that offer AuthentiX/WebQuota ISP.

If you have a dedicated IIS server machine (your website is the only website on the machine), then purchase the AuthentiX (Standard) or WebQuota (Standard) software and have your provider install the software. If you have a remote access program like PC-Anywhere, you may be able to install the software yourself.

Sharing: If your website is sharing the IIS machine with several other of your provider's customers, the ISP version of the software will be more appropriate. Essentially, the ISP version places firewalls between each customer so they do not have access to, and cannot modify, each others AuthentiX configurations. Also you can only protect directories on your own website (and not other people's websites on the same machine!).
Consequently, your provider may not permit you to use AuthentiX, and may require you to purchase AuthentiX ISP 5-pak.

Back to the top of the FAQ

Q. Also what is the proper way to uninstall Authentix?

A. Go to control-panel, Add-Remove Programs, and select the software from there. (look for Membership Systems or AuthentiX)

Do not run uninstall.exe in the flicks installation directory.

Back to the top of the FAQ

Q. On installing, I get a weird dialog box with dlgcacwinname and ins0432 in it. Then the install fails. What do I do?

A.

It sounds like there are some old InstallShield files hanging around from another vendors installation procedures.

Remove everything from the temp directory (reboot first if necessary), then try the install again.

Someone also mentioned a security lockdown setting that makes long filesnames and or filenames with spaces in them fail. It could be related to this.

Try installing to c:\flicks\authx (with no spaces and 8.3 compatible filenames) rather than c:\program files\Flicks Software\AuthentiX

Also see here.

Back to the top of the FAQ

Q. I tried that, but it won't let me uninstall.

A. Try running flicksUninstall.exe in the installation directory. If it complains that it cannot find mfc42d.dll, then you need to download the latest flicksUninstall.exe Overwrite the one in the installation directory. Then try uninstalling from the control-panel again.

Back to the top of the FAQ

Q. I have tried to install the latest version of the software, however it still comes up with the old version!

A. Are you sure you installed the correct zipfile? If you have just purchased the software and are installing over the trial version, are you sure you are installing the software sent to you?

If you are sure you are installing the correct version, then perhaps the old files are still 'hanging' around.
There are several reasons this could happen, for example you may have forgotten to stop IIS before the installation procedure, or the Windows console GUI app was still running.

Try the following to reinstall: Stop IIS from the control-panel/Services. Make sure you stop IISAdmin service and say yes to stopping all sub-services (including IIS).
Make sure the AuthentiX/WebQuota Windows user interface is closed.
Make sure no other programs are using any AuthentiX/WebQuota OCX/COM component.
Uninstall from the Control-Panel/Add-Remove Programs.
Install the software again, making sure you use the correct zipfile.

If this still does not work, then to make sure you have a clean re-install, copy the manualdelete.bat from the installation directory to a separate directory, stop IIS and the console app, and uninstall from the control panel.
Modify the manualdelete.bat file to reflect the directories of your installation/machine configuration, and run it.
If any of the files fail to be deleted, then they are still being held open by another process. Rename the offending files, and reboot. This should guarantee that the old files are gone. Then install the software.

In the last resort, make a backup of any/all adb files in the installation directory, delete the entire installation directory, and in the system32 directory delete the following files:

  • AuthentiX/WebQuota: authxdb.dll and axodbc.dll
  • AuthentiX ISP/WebQuota ISP: authxispdb.dll and ISPodbc.dll

If you are still having problems email support@flicks.com

Back to the top of the FAQ

Q. I'm using IIS6 and I get "An attempt was made to load the filter but it requires the SF_NOTIFY_READ_RAW_DATA filter notification and this notification is not supported in Worker Process Isolation Mode."

A.

HKEY_LOCAL_MACHINE
	/Software
	/Flicks Software
	/AuthentiX
	/1.0
	/AuthentiXConfig
create a value called ENABLE_SUBWEB, of type DWORD, and set it to be 1. Stop and restart IIS Admin Service. You should then get a message in the event log saying "SF_NOTIFY_READ_RAW_DATA turned off", rather than the above message. (This is the default in 5.5k2 and above).

If you have not upgraded to 6.0 or above, you need to now.

Back to the top of the FAQ

Q. IIS6 - it doesn't seem to be working (when in fact it is).

A.

The worker processes that indicate to the system that IIS6 are running are not activated until an actual http call is made. If, on installation, it doesn't seem to be working, try protecting a directory and seeing if it is protected by making a request. It should be fine.

Back to the top of the FAQ

Q. Windows 2000 and aspAdmin remote administration Error: 50;

A.

Assuming that the software has not expired:
With Windows 2000 (not Windows NT 4.0), the default registry permission settings do not give access to IWAM_machineName or IUSR_machineName.

Using regedt32, in the registry, HKEY_LOCAL_MACHINE, the SOFTWARE key, Flicks Software: set the permissions to grant IWAM_machineName and IUSR_machineName Read Control and Full Control.

Additionally, in the Flicks Installation directory, grant IWAM_machineName and IUSR_machineName Full Control on the directory containing all the .adb files.

Version 5.1 will not need this permission to be set at the top SOFTWARE key level, and the necessary permissions will be set automatically on installation.

If you believe you have a registered version, please let us know the serial number.

Also see here and here.

Back to the top of the FAQ

Q. I change the user's info via the Windows GUI, but I have to restart IISAdmin to see the changes!

A.

You should be able to make changes via the Browser-based administration, use this as a temporary workaround.

We have found that this can occur when using Terminal Services to remotely access the server machine. Version 5.5b2 and above eliminate this glitch. For prior versions you may continue to use the Browser-based administration aspAdmin, or use alternate remoting software such as PCAnywhere or Remotely Possible.

The issue is normally related to permissions issues, depending on the security regimen implemented on the machine, either by corporate policy, or by any of the many service packs. Each of the latter seems to make undocumented modifications to the security structure, and vary between service packs.

The problem is caused by one of two things:

1) The Windows GUI does not have permission to update the authx.adb file. This is relatively easy to fix by making sure the authx.adb file and its parent directories have the permissions necessary to update the file.

2) The global mutex that signals all applications (particularly the AuthentiX ISAPI filter plugin which runs as a part of IIS) is not having the desired effect. This is most always caused by permission issues for the global mutex and the permissions of the processes involved (IIS, AuthentiX GUI). Because the remote admin uses the AuthentiX OCX, which itself runs as part of IIS, the permissions issue is sidestepped.

A customer observed this behaviour:

We were able to restart all IISAdmin services except the http SSL service while being remote into the server. After restarting those services and making a change through the GUI, the change showed up in remoteAdmin.

Permissions could be an issue here. Make sure you are logged in as an Administrator with
"Act as part of the Operating System"
and
"Log on locally"
advanced user rights/privileges.
To add privileges: Control Panel, Administrative Tools, Local Security Policy, Local Policies, User Rights Assignment.

See also here.

Back to the top of the FAQ

Q. In the Event Log I am seeing [5] Access is denied with message ID's 8729991 and 883762
Is this a problem?

A.

This should have no negative effect on operations.

Likely you are installing on Windows 2003 using Terminal Services.
See this interesting (but very technical) article here: http://www.brianmadden.com/content/content.asp?ID=480

In brief, the software attempts to open the Registry Key
HKEY_LOCAL_MACHINE\SOFTWARE\Flicks Software\AuthentiX\1.0
but fails the permission check, which generates the Event Log message.
However the system then automatically tries again with higher permissions, which succeeds.

If you do in fact have problems that are related to this please let us know.

Back to the top of the FAQ

Q. Lots of IIS startup messages! Authentix is filling our Application Event Log with entries. They are mostly Informational events, such as the one I pasted below. How can I turn these off?

A.

These messages are normal startup messages. Every time the AuthentiX ISAPI plug-in filter starts, it outputs these messages.

The AuthentiX ISAPI plug-in filter starts up when IIS starts up.

If the AuthentiX ISAPI plug-in filter starts up frequently it is because IIS starts up frequently.

Assuming auto-recovery is on (and it must be here) IIS will startup frequently if it crashes frequently.

It will crash frequently if it running an application that crashes frequently.

You are seeing AuthentiX messages frequently and so you are assuming the problem is caused by AuthentiX. Instead, the messages are a symptom of another issue.

100% of the times I have seen frequent startup messages like this from AuthentiX it is because of another application crashing IIS.

For example, one customer who was using a (rather rare) IIS programming language found that when he moved to IIS6 he got these frequent messages. It turned out the programming language interpreter crashed IIS at the end of each page it was called from, although the page itself would actually be served (the last one before crash and recovery). It worked ok under IIS5.

Try turning off auto-recovery and observe IIS failing. Then check the Event Log for clues.

If enough people ask, I will add a registry switch so that you can turn these messages off.
That way, AuthentiX will not fill up your Event Log with startup messages (always annoying!) and the actual cause of IIS restarting will remain hidden until your system crashes and burns later and you will be none the wiser why.
AuthentiX is just the messenger here.

Back to the top of the FAQ

Q. By referrer issues.

A.

Yes, there are cases where the http-header referrer information is not correctly passed to the server.

It could be because of an option in a browser, a firewall or proxy stripping out the header, a browser not even having the capability.

One common example is the WMP browser, which standalone does not pass the referrer to the server, however if embedded in IE or Firefox it does. See here.

In the AuthentiX installation directory there are some copies of debug.asp.

Take one of these and put it in an unprotected directory on the target machine. Use the browser method in question to access this file via http. If there is no referrer information there, then none is being passed to the server.

If the referrer information is required for access, but the referrer information is not passed to the server, then the browser will be blocked by referrer.

Back to the top of the FAQ

Q. I really like being able to see who is currently logged in with the aspAdmin remote admin module. It is in the Access List, where it says "Who's on now" and a link to "Current Users". It shows me whos on now. However I cannot see any currently logged in users even though I know I am logged in!

A.

Go to MMC/IIS and right click on the website and select Properties. In the Home Directory tab, change the Application protection level to Low (IIS Process). Now that asp module will have access to the internal datastructures in the AuthentiX filter that runs as part of the the IIS process and you will be able to see the currently logged on users.

Also see here and here.

Back to the top of the FAQ

Q. Adding users via remote administration does not update the filter.

A.

Assuming that the software has not expired:
With Windows 2000 (not Windows NT 4.0), the default file permission settings do not give access to IWAM_machineName or IUSR_machineName.

AuthentiX/WebQuota (Standard): The configuration file authx.adb does not have write permission for IUSR_machineName or IWAM_machineName so the remote administration module cannot update it.

AuthentiX/WebQuota ISP: The configuration files *.adb in the authxISPData directory do not have write permission for IUSR_machineName or IWAM_machineName so the remote administration module cannot update it.

Grant Read and Write permissions for IUSR_machineName and IWAM_machineName to these files.

This will be done automatically on installation with Versions 5.1 and above.

If you believe you have a registered version, please let us know the serial number.

Also see here and here.

Back to the top of the FAQ

Q. Where is the remote administration dll?

A. The remote administration dll is no longer used for remote administration. Check out the aspRemote ASP pages instead!

Back to the top of the FAQ

Q. How do I set things up for FrontPage?

A. In IIS Manager, turn on Allow Anonymous (otherwise the whole site will be protected by IIS), turn off Basic Authentication (You don't want AuthentiX's Basic Authentication to conflict with IIS's Basic Authentication), Turn on NTCR (Integrated Windows Authentication in Windows 2000) (those using Frontpage will be logging in via NTCR instead). In the Options dialog turn on "Don't Authenticate Frontpage subdirectories". Make sure that the anonymous user can access the actual directory, without the software having protection for that directory, then Add protection. Make sure the Frontpage filter is loaded after the AuthentiX filter.

For FrontPage 2000 there is an issue with the new virtual vti_bin methodology, if you are authenticating FP with IIS Basic Authentication (and not NTCR (Integrated Windows Authentication in Windows 2000)).
To edit a site with frontpage, the vti_bin virtual directory must have IIS Basic Authentication on, however if this is the case users/browsers cannot use the bot without being prompted for an NT basic auth sign on.
This is because (I think) the browser is sending Basic Authentication creditials to AuthentiX, but these are being passed to the bot in the vti_bin, and these credentials do not match IIS NT Basic Authentication credentials.
If you turn off vti_bin IIS Basic Authentication, the bot will work for the user, but you won't be able to edit the site with FrontPage.
It is better to use ASP solutions rather than bots, when you are authenticating FP with IIS Basic Authentication (and not NTCR (Integrated Windows Authentication in Windows 2000)).
If you must authenticate FP with IIS Basic Authentication (and not NTCR (Integrated Windows Authentication in Windows 2000)), and you must use FP bots, and you cannot have 2 IP addresses, then you have got a problem that cannot be resolved at the present time (8/3/00).
Better to:

  • Use NTCR (Integrated Windows Authentication in Windows 2000) for FP authentication
  • Don't use bots, use ASP or other solutions
  • Use 2 IP addresses

Also see here.
and Microsoft's comments here

Back to the top of the FAQ

Q. FrontPage Setup - Camille's way

A. Camille (camilletrapp at hotmail.com) went through the grinder, and came up with this:

What to do so you can open your site in IIS4 (and above), frontpage2000 AND protect directories via logon using AuthentiX 5.1 at the same time

  • Make sure the Authentix isapi filter is on top of the fp filter no matter how many filters you have. Inetinfo filter should be highest of all. If you don't know which is which, right click.
  • Uncheck the box in the vb Version of AuthentiX on the server that says "Don't protect Frontpage directories with _vti...."
  • Open the permissions in the WINNT/System32 to Everyone Full Control
  • Open the permissions in the Authentix program directory (where the adb is) to Everyone Full Control
  • Open the permissions to wwwroot and all subdirectories to Everyone Read/Execute control (millions of files), then your Windows NT/2000 or Frontpage NT accounts/groups write permissions.
  • Then open the web in frontpage. Then Open a protected or logon page in your browser and verify that logon is working.
Once you've got there....start working backwards choking down directories and files always checking that everything stays working. Good luck!

Thanks Camille!

Back to the top of the FAQ

Q. FrontPage Search Bots

A. Marj Palmer went through the grinder, and came up with this:

Thanks to all for taking the time to give me the full info on this issue. I tried Kevin's 'Map Request to NT User' suggestion on the _vit_bin directory and the results were the same...NT still popped up a dialog to validate an NT user.

I gave it some more thought and came up with a workaround that I can live with. I have a public and a private part to my web site. I don't want the general public to be able to search the entire web site, only authenticated users from the protected site. What I did is relocate the Search page containing the bot from the protected directory to the root unprotected directory. The Search page runs fine there. Most of the links to navigate to the Search page still come from a page in the protected directory. I had just one link to the Search page from the Site Map page in unprotected site. I revised the Site Map link to instead go to a search_redirect.asp page in the protected site, which after causing User authentication does a redirect to the Search page in the unprotected site. If some public user figures out how to directly type in to the search.htm they will be able to bring up and run the Search page. However, they won't be able to follow any results links to content in the private site, without getting authenticated. That's good enough for me.

Thanks again for your help. I've been very pleased with AuthentiX and the hosting support I've received fro CrystalTech. I'm rolling out the finished web site this week!

Thanks Marj, don't you just love Frontpage!

Back to the top of the FAQ

Q. Everyone is permitted access to change the site with Frontpage!

A. If you are on the same local network, this will appear to be the case because (like IE) Frontpage will log you in "behind your back" as your current Windows login. If you try accessing the site outside your local network, you will see the protected behaviour as desired.

Back to the top of the FAQ

Q. http://username:password@www.mydomain.com doesn't work anymore!

A. That's right. Around 2/2004 Microsoft issued a security update for IE which disallows this form of URL.

The most likely workaround is to convert to using forms-based/cookie login, and modify the easyloginnow.asp to accept the username/password from the source of your choice, rather than the usual login.htm page.

For example, instead of using
http://username:password@www.mydomain.com
use something like
http:/www.mydomain.com/firstfile.asp?u=username&p=password

then grab the u/p out of the url string, and use these to set the cookie for cookie-based login.

Be aware that this method of passing in a username and password is vulnerable to simple copy/paste attacks, whereby the URL can be posted on forums to effectively destroy your security.
Note that VideoQuota is soon to have "TimerTokens". (VideoQuota includes AuthentiX/WebQuota with enhanced functionality.)
Timertokens are generated on the fly, and contain the username and password encoded, along with the current time, encrypted. VideoQuota decodes and matches up the token, permitting access only if the token is freshly minted within the last few seconds. Good for links.
This premium feature is only available in VideoQuota, which costs more.

Back to the top of the FAQ

Q. Installation with Cold Fusion Service Running

A. One user reported that Installation (setup.exe) was suspended when Cold Fusion service was running. When he stopped the service the setup/installation continued.

Back to the top of the FAQ

Q. My IIS system restarts every 15 minutes (OR every 30 minutes OR every hour OR once per day). In the event log I see a message about AuthentiX"

A.

The AuthentiX message is a general message that is created when the system is restarted.

Itcould be because the IIS6 default pool restarts itself once a day.

If this happens very frequently, then the cause of the problem could be related to the Red Worm Patch:

"Speaking of patches, I've read several recent posts on the Bugtraq mailing list that indicate a problem might exist with the Microsoft patch listed in Microsoft Bulletin MS01-033. A few people have reported that after they installed the patch, their systems remain immune to Code Red infection. However, when an infected system attempts to connect to their system to infect it, several IIS services (e.g., FTP, the default Web site, the administrative Web site, and the proxy service) stop processing." - Windows Security Update

Back to the top of the FAQ