Welcome our webmaster and SEO forum
Please enjoy the forum, contribute what you can, and wind up the Moderators!
+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 14 of 14

Thread: register_global off

  1. #11
    melkior_inactive Guest

    Default

    Quote Originally Posted by Piotrek View Post
    I've read that $_GET table is rather not recommended for the reason the variables and values are also passed to the script in the url so they may be hacked the same way you described, right?
    They're not recommended for logins, but for other parts of the script they are OK.
    Logins are best managed by $_COOKIE and checking the data against the user database (username and the hashed password).

  2. #12
    Piotrek Guest

    Default

    And yes, you could hack the script with admin.php?login=true, but that wasn't the point. I was just giving an example of some kind of access to the admin part.
    Yes, I know, sorry for pestering ;P

    But when I get some free time, I'll create one.
    Wow, this would be awesome!

    And I appreciate the advice about passwords, I will keep it in mind

    Thanks very much!
    Piotrek

  3. #13
    norbertwarne is offline Junior Member norbertwarne is on a distinguished road
    Join Date
    Oct 2010
    Posts
    17

    Default

    Well, if they are on than somebody with too much time on his hands could hack your site well. He could inject variables into your book absent any troubles.

  4. #14
    rashidbm is offline Junior Member rashidbm is on a distinguished road
    Join Date
    Jun 2011
    Posts
    13

    Default

    I was wondering and very useful topic and post.

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124