Welcome Guest, Not a member yet? Register   Sign In
Stopping people from brute forcing URL / UUIDs
#7

[eluser]jedd[/eluser]
[quote author="RS71" date="1237787495"]I hadn't thought of the IP ban on invalid IDs, very nice. I'd need non-sequential IDs for that to work nicely.[/quote]

You could have honeypot ID's. Though this would be ugly - it's getting very complicated for something that should really be handled a proper ACL/permissions system.

Quote:Wouldn't encrypting the IDs need lots of processing power since for every item for every user viewing the site

I'd do it at ID creation - probably using md5 to create the second column (right next to ID) and using that new md5 field for all public references (ie. URL components). You'd want to salt it, if you did it that way, of course, and not just base it on md5('1') (etc).

The base64 stuff was, I think, to ensure no nasties in the URL. MD5 offers the same feature, of course.


But remember, at the end of the day, we are not enamoured with security by obscurity.


Messages In This Thread
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 05:32 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 06:15 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 06:23 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 06:29 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 06:51 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 06:56 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 07:28 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 09:44 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-22-2009, 11:06 PM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-23-2009, 05:20 AM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-23-2009, 09:11 AM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-23-2009, 09:21 AM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-23-2009, 10:25 AM
Stopping people from brute forcing URL / UUIDs - by El Forum - 03-23-2009, 10:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB