Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Wndows Server 2000 Help  (Read 5323 times)

0 Members and 1 Guest are viewing this topic.

Steph

  • Guest
Wndows Server 2000 Help
« on: February 14, 2006, 12:25:52 PM »
How Can You Transfer Your Database Over To Another Drive And Get It Linked Properly?

And Or Hide Critical ASP Files Inside A WebRoot Directory?So That Way They Can't Be Accessed Via Internet.

Anyway Possible?


Thanks In Advance!

PS. The Reason For This Is Due To A Certain Hacker Who Won't Leave Our Forums Alone.

« Last Edit: February 14, 2006, 12:26:25 PM by Steph »

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Wndows Server 2000 Help
« Reply #1 on: February 14, 2006, 03:39:57 PM »
Yep it's definitely possible.  Is this on an Apache server or a server running IIS?  Is ANYONE going to have access to these files?

Not entirely sure what you mean by your first question.  What kind of a database are you using?
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

Steph

  • Guest
Re: Wndows Server 2000 Help
« Reply #2 on: February 14, 2006, 04:24:10 PM »
Yes We Are Running IIS......The Only Folks That Have Access To This Server Are Me And My Husband......From Our Individual PC's Here At Home As Well As From Work.
But We Ran Into A Problem Yesterday Were Someone Got Into The Database Somehow And Started Deleteing asp Files.My Husbands Forum Got Hacked As Well As Mine.They Tend To Mess With His More Than Mine Though.And It's Someone From Overseas..UGHHHH

We Are Wanting To Hide The Database So That Way They Can't Find It Like To Another Drive...Was Told This Was Possible But Hubby Tried It Lastnight And Couldn't Get It To Work Right.

Or Is There Another Way To Do This(Such As Settings)..We Are Behind A Router Also.

Hope This Helps If Not I Will Try To Answer Ur Questions As Best As I Can..

Thanks In Advance,
Steph

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Wndows Server 2000 Help
« Reply #3 on: February 15, 2006, 08:45:12 AM »
Yes we can do something about this but again: what kind of a database are you using?  MSSQL?  MySQL?  PosatgresSQL?  Oracle?  Sybase?  Text file?  Excel file?  MS Access DB?
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

Steph

  • Guest
Re: Wndows Server 2000 Help
« Reply #4 on: February 15, 2006, 09:58:05 AM »
MS Access DB......

Rob Pomeroy



    Prodigy

  • Systems Architect
  • Thanked: 124
    • Me
  • Experience: Expert
  • OS: Other
Re: Wndows Server 2000 Help
« Reply #5 on: February 15, 2006, 07:46:02 PM »
Yuck.

Okay, you definitely don't want the database sitting anywhere in your webroot tree.  That way, anyone can open it in a browser unless you deny access to the IUSR_*** account.  You should be able to plonk the .mdb file anywhere you like, and then reference it in your ASP scripts by its absolute path (e.g. C:\safefolder\database.mdb).  Unfortunately I'm not an ASP programmer, so I can't provide a code snippet.

Consider investigating MySQL and transferring your database to that.  You will achieve a massive increase in performance, security and stability.

Also consider not capitalising every word in every sentence...
Only able to visit the forums sporadically, sorry.

Geek & Dummy - honest news, reviews and howtos

Steph

  • Guest
Re: Wndows Server 2000 Help
« Reply #6 on: February 15, 2006, 08:27:26 PM »
Quote
Yuck.

Okay, you definitely don't want the database sitting anywhere in your webroot tree.  That way, anyone can open it in a browser unless you deny access to the IUSR_*** account.  You should be able to plonk the .mdb file anywhere you like, and then reference it in your ASP scripts by its absolute path (e.g. C:\safefolder\database.mdb).  Unfortunately I'm not an ASP programmer, so I can't provide a code snippet.

Consider investigating MySQL and transferring your database to that.  You will achieve a massive increase in performance, security and stability.

Thanks A Bunch...Read This To My Hubby And He Will Try This.

Quote
Also consider not capitalising every word in every sentence...

Sorry It's A Bad Habit!And Bad Habits Are Hard To Break!
 [smiley=grin.gif]