Predictable to completely random.

.com’s script has two storage methods: and flat-file based storage.

Though I prefer for ease of use and easier interaction with code, I did not like the “public” way the script  handled pastes (the paste ID was associated with a primary key in the database which was how paste IDs were assigned too – a clever way to not have to worry about IDs getting re-used) as anyone could just guess URLs to find pastes: http://pb.malloc.us/1, http://pb.malloc.us/2 etc. I really preferred the way .com currently handles it – which is also the way the flat-file storage method handles it.

Since Malloc’s was meant to be more tuned to the needs of developers, it needed to be less public than the stock script was. As such, I modified pb.malloc.us to use a more ID assignment system and I think it works out just fine.

Comments 0

 
 
 

RSS: Posts / Comments