Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

hide facebook id from image file name

Posted on 2008-10-06
4
Medium Priority
?
1,636 Views
Last Modified: 2009-10-10
Hi there, i am building a facebook application where privacy of users is mostly important. I want to be able to show pictures of users but not show names. however when you request a picture of a user on facebook the pictures name contains his/her id. Thus its very easy to track down the user profile for that person.
Is there a way to either change the filename or to not allow every user to be able to save the image so he/she cant get the name of the file?
0
Comment
Question by:ioustinos_sarris
  • 2
  • 2
4 Comments
 
LVL 9

Accepted Solution

by:
khaledf earned 2000 total points
ID: 22656516
since images are called and identified by user id then you will need to save the images to your server, remove the id info, and show the images to the visitor.
0
 

Author Comment

by:ioustinos_sarris
ID: 22657948
is that something facebook allows to do?
0
 
LVL 9

Expert Comment

by:khaledf
ID: 22658893
I'm not sure but it seems they don't allow it. you will have to code it yourself and substitute user ids with salted md5 hashes.
0
 

Author Comment

by:ioustinos_sarris
ID: 22658910
and how can that be done?
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses four methods for overlaying images in a container on a web page
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question