Rodrigo Bermejo wrote: > Diego Bernardes wrote: >> Hi >> >> I need protect some data like photos and musics from a game, i really >> dont know how to do this, i was thinking in something like this, take >> the photo, translate to a string and store in the database and the >> database will be the mongoose. Have any other more efficient way? >> >> >> Thx :) > > ( Not sure if I understood ) > you can create a compressed package of what you want to protect ( a rare > format will be better), and then just change the extension of the file > to mislead the offenders. Hehe, i made a test with openssl and storing in mongoose, i think ppl will never, ever open it, but, well, its impossible to made a game with it XD on my notebook (celeron 1.5ghz) took 1 sec to read the data inside the database, decrypt and open it ( not a big file, 150k ), well in game its not less then 10mb per map, so.... yea i will keep searching for a better solution =/ -- Posted via http://www.ruby-forum.com/.