c# - Encrypt/Obfuscate file name -


i store files on shared web server hide content of file. encrypting contents of file aware if had time , knowledge target files based on name.

what best method either encrypting file name or obfuscating it?

i have looked @ creating separate index file , using dictionary store original , obfuscated file names if same using reversible encryption might easier/less prone disaster if index file lost.

hope makes sense.

update: clear reversible , ensure files not searchable on drive (i.e. obfuscating paths not sufficient).

you add random value url. ex:

http://example.com/my-site/943hfkl3w7/secretfile.zip http://example.com/my-site/jf6490fh40/otherfile.zip 

this way original file name never changed , file locations not guessable.


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -