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

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Path string to database location
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Alfred
Senior Member

USA
1527 Posts

Posted - 12 March 2003 :  20:30:34  Show Profile  Visit Alfred's Homepage
I signed up with a new web host, where there is no special db folder.
When I asked support, they replied:
quote:
They cab be placed anywhere. If you need a fodler that is non-wbaccessable then you can create the folder and send us the name of the folder and we can make it secure
Does that mean the path for my config.asp file does not have to point to the server?

Alfred
The Battle Group
CREDO

weeweeslap
Senior Member

USA
1077 Posts

Posted - 12 March 2003 :  20:37:49  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
it does have to point to the serve, or else how will it connect to the db? If no no dl folder is available then make the db name super hard something scribble like jkHGHTY5454GHsvm98&&^769d?n9u76.mdb or whatever to make it seemingly impossible to guess the db name and saver it in another folder other than the forum folder imo.

coaster crazy
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 12 March 2003 :  21:08:03  Show Profile  Visit Alfred's Homepage
They did say:
quote:
They cab be placed anywhere. If you need a fodler that is non-wbaccessable then you can create the folder and send us the name of the folder and we can make it secure
But I wondered whether the path just has to be to the folder I place it in, or to a separate server unit, as it was on my other host(in red):
quote:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\premfs3\sites\premium8\my_name\database\my_file_name.mdb"

Alfred
The Battle Group
CREDO
Go to Top of Page

spyordie007
Junior Member

USA
408 Posts

Posted - 12 March 2003 :  21:10:54  Show Profile  Visit spyordie007's Homepage  Send spyordie007 an AOL message
the spell reelly good

-Spyyy

Power - The only narcotic controlled by the SEC, not the FDA.

Prosperity without pollution! The American Hydrogen Association - http://www.ahanw.org
Questions about Hydrogen? Post them on our forum - http://www.ahanw.org/forum
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 12 March 2003 :  21:35:24  Show Profile  Visit Alfred's Homepage
Well, that part I am used to by now - dealing with semiliterals on the net.
As long as I can guess the substance of what they are trying to say, which I am not sure about in this case.
This is the latest tech response I got:
quote:
Hello,
The path up to your site is e:\ggholiday.com\ggholiday.com
You will then need to complete the pat up to your database.

With their spelling I am not sure now how accurate that info is...
Would you think the string should look like this:
quote:
strConnString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=e:\ggholiday.com\ggholiday.com\and_whatever_folder

Alfred
The Battle Group
CREDO
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 12 March 2003 :  22:07:51  Show Profile  Send ruirib a Yahoo! Message
What is the web folder there? Likely it's the second one, so I guess you could make it like:

e:\ggholiday.com\database and it wouldn't be reached from the web... but only if the root web folder is e:\ggholiday.com\ggholiday.com


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 12 March 2003 :  22:20:04  Show Profile  Visit Alfred's Homepage
That's the problem - I am not sure whether the info I got is exact, or a typo.
When I access the site via my ftp client, it only shows ggholiday.com as root folder.
If it is as you say, this being the second level folder, and I add ../database - why would they offer to "make it secure" when that is already secure?

Alfred
The Battle Group
CREDO
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 12 March 2003 :  22:26:11  Show Profile  Send ruirib a Yahoo! Message
So just create a database folder at the same level of the existing ggholiday.com folder. I think it should be secure, but you can then check whether it is secure or not, by placing a database file inside and trying to download it.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 12 March 2003 :  23:21:14  Show Profile  Visit Alfred's Homepage
I actually placed the folder below my root folder, and disabled the write option for the folder.
I am quite impressed so far - tech support may not spell or type flawlessly, which can happen when you are under time pressure - but they satisfactorily answered three of my mails in the last two hours.
quote:
The path is correct below. Here is a temporary URL: http://ggholiday.sectorlink.org/ to view your site before you transfer the name server information.


Alfred
The Battle Group
CREDO
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 March 2003 :  06:05:03  Show Profile  Send ruirib a Yahoo! Message
The write option? You surely mean the read option, so that no one can read your DB file from the Web?!


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 13 March 2003 06:13:09
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 13 March 2003 :  06:35:36  Show Profile  Visit Gremlin's Homepage
We have write permissions enabled on all folders by default as well, when I setup forums for people I create a directory above the webroot for them exactly how Ruirib suggested.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 13 March 2003 :  09:15:34  Show Profile  Visit Alfred's Homepage
I shifted the db folder up now, so it is on the same level as the root folder.
That should be safe, right?

Re "read" or "write" enabling - I don't mind if someone reads it, as long as nobody can screw it up by editing the db!
BTW, is there any harm in disabling both, read and write for the public?
Or does that inhibit any ASP interaction?

Alfred
The Battle Group
CREDO

Edited by - Alfred on 13 March 2003 09:18:54
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 March 2003 :  11:27:27  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by Alfred

I shifted the db folder up now, so it is on the same level as the root folder.
That should be safe, right?


Yes.

quote:

Re "read" or "write" enabling - I don't mind if someone reads it, as long as nobody can screw it up by editing the db!
BTW, is there any harm in disabling both, read and write for the public?
Or does that inhibit any ASP interaction?


Now, from the IIS point of view, no reading or writing is required, since the DB won't be directly accessed from the Web. Now the DB and folder only need read and write permissions, but you need to set them in the file system, with Windows Explorer, not with IIS Manager.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 13 March 2003 :  11:40:18  Show Profile  Visit Alfred's Homepage
quote:
Now, from the IIS point of view, no reading or writing is required, since the DB won't be directly accessed from the Web.
So I understand that calling up the db from an ASP page isn't "access from the web", right?

I am a little confused over this here:
quote:
Now the DB and folder only need read and write permissions, but you need to set them in the file system, with Windows Explorer, not with IIS Manager.
I was talking about the CHMOD File Attributes in my FTP client.
What happens when one disables the public read and write in there?

Alfred
The Battle Group
CREDO
Go to Top of Page

Roland
Advanced Member

Netherlands
9335 Posts

Posted - 13 March 2003 :  12:07:03  Show Profile
you can't CHMOD anything on a Windows server, so unless you've gotten yourself a UNIX host, you're trying to change settings that won't take effect.
Go to Top of Page

Alfred
Senior Member

USA
1527 Posts

Posted - 13 March 2003 :  12:43:49  Show Profile  Visit Alfred's Homepage
Roland, that explains why CHMOD always reverts back to "enabled" for both options!
And also why the tech people offered "to make the folder safe" as soon as I give them the location.
This is probably what they do then - disable the CHMOD public options.

If I understand it right placing my db on the same level as my root folder should basically make it inaccessible for others.
The safety move the tech people offer would then be simply additional precaution against hacking?

Alfred
The Battle Group
CREDO
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07