Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Closed)
 (v3.4.03) BUG+FIX: Unsecured Access DB alert
 Forum Locked  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

nylonTiger
Starting Member

9 Posts

Posted - 15 April 2003 :  16:54:37  Show Profile  Send nylonTiger a Yahoo! Message
admin_home.asp file, line 66 should includes lcase() conversions.
if instr(lcase(strConnString), lcase(Server.MapPath("snitz_forums_2000.mdb")))> 0 then


Otherwise a connection string like
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\forum\snitz_forums_2000.mdb"

where c:\inetpub\forum is the forum application directory, may bypass the alert

Edited by - nylonTiger on 15 April 2003 16:56:39

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 15 April 2003 :  18:33:33  Show Profile  Visit HuwR's Homepage
Your suggestion is correct, but your reasoning a little flawed, since your example is already all in lowercase

I presume you meantsomething like...
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\INETPUB\FORUM\SNITZ_FORUMS_2000.mdb"
where it has capital letters etc.

Go to Top of Page

nylonTiger
Starting Member

9 Posts

Posted - 16 April 2003 :  12:22:54  Show Profile  Send nylonTiger a Yahoo! Message
I think the Server.MapPath function returns "C:\..." not "c:\...".
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 June 2003 :  09:26:40  Show Profile
changed line #69 of admin_home.asp from this:
		if instr(strConnString, Server.MapPath("snitz_forums_2000.mdb"))> 0 then
to this:
		if instr(lcase(strConnString), lcase(Server.MapPath("snitz_forums_2000.mdb"))) > 0 then



could also change it to this, would accomplish the same thing:
		if instr(1, strConnString, Server.MapPath("snitz_forums_2000.mdb"), 1) > 0 then
Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 June 2003 :  09:27:26  Show Profile
fixed in v3.4.04
Go to Top of Page
  Previous Topic Topic Next Topic  
 Forum Locked  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07