Results 1 to 10 of 10

Thread: Register Globals On. Security Threat?

  1. #1
    Join Date
    Oct 2005
    Posts
    14

    Default Register Globals On. Security Threat?

    I am not the expert php programmer, but I do know that the makers of php have started setting register globals to OFF by default for a reason in the newer php versions.
    Apparently it's somewhat of a security risk to leave it enabled.
    I was wondering if this would lead to any sql injection attacks or leave my database and site vulnerable? Has there been extensive testing about security with indexu?
    I'd hate int invest all this time to build a large directory, only to see it hacked.
    Thanks for the assistance.

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    I have tried sql injection, php injection, and a few other common hacks on my site but the abstraction layer of indexU strips out ' which helps. Some guy came on here a few months ago and said it had php injection faults but he never said how and where... Its as secure as any other scripts I have used - The biggest assurance I can give you is I couldnt hack it, and nobody has ever said they have had a hacked site because of indexU (to my knowledge)

    To be on the safe side backup the DB weekly - not only incase of hacking but incase of your hosting company shutting its doors without telling anybody (experience speaking), or just data corruption.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Oct 2005
    Posts
    14

    Default

    Will do. That puts my mind at ease a little more. I'll definitely be backing up the db regularly.
    Thanks for the info!

  4. #4
    Join Date
    Feb 2005
    Location
    Antwerp, Belgium
    Posts
    118

    Default

    backups rule !

    i have even a second mysql database ready on my server so if there is a problem i just change it to that one.
    Last edited by landuyt; 10-19-2005 at 05:00 PM.

  5. #5
    Join Date
    Oct 2005
    Posts
    14

    Default

    Landuyt,

    How do you go about having a second db ready to move to if the primary one gets corrupted somehow?
    Do you just change the database name in the configuration files somehow if you ever needed to?
    Thanks.

  6. #6
    Join Date
    Feb 2005
    Location
    Antwerp, Belgium
    Posts
    118

    Default

    yes that's basicly it... i just make a quick rename to backup_name_db in application.php and i have all things running again. it gives me time to solve the problem in the corrupted one. not that i need it very often

    and i even have a full backup on my usb stick ( password protected of course )..... you never know....

    so if i'm on the road, one internet café is all i need.

  7. #7
    Join Date
    Oct 2005
    Posts
    14

    Default

    I see. Do you make daily backups manually (via phpMyAdmin I suppose), or have a script that backs up the database, and saves the output sql file to your server, and then you can download from there?

  8. #8
    Join Date
    Feb 2005
    Location
    Antwerp, Belgium
    Posts
    118

    Default

    i have cpanel installed on my server. But there are a lot of ways to make backups
    you can even make backups via your admin in indexu ( i never did it, but i suppose it works well )

    and if you can do cron jobs, you can even send every day a backup to your mail. ( i 'm not familiar with this, but i bet there are some here at the forum )

    i make backups every day.

  9. #9
    Join Date
    Oct 2005
    Posts
    14

    Default

    Cool. Thanks for the info!

  10. #10
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    every time i backup my DB using cpanel the site goes down for 5 minutes.

    No idea why... I used the indexU backup facility and its fine.
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Similar Threads

  1. Change domains and register my new site
    By Frisk151 in forum v5.x
    Replies: 9
    Last Post: 07-19-2004, 03:03 AM
  2. Product Security & Suggestions
    By Hart_House in forum v5.x
    Replies: 2
    Last Post: 10-28-2002, 06:03 PM
  3. cannot register
    By sweepsmaster in forum v5.x
    Replies: 4
    Last Post: 07-01-2002, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •