• Answers
  • Web

How can you restrict images from public view?

The website I've setup allows members to upload pictures. The pictures are stored in a directory. How can I keep them from being viewed by the public. Should I do this with PHP and an .htaccess file?


Share Send to a friend Watch Report
 
 

Posted Answers

No answers were posted yet - be the first one to answer!

Sign in to participate

Got an answer for myed? Would you like to comment on the posted answers, or vote for the one which you think is the best?

Sign up for a free account, or sign in (if you're already a member).

Explore Related Questions

Other people asked questions on similar topics, check out the answers they received:


Q:

Steps to start prototyping using php and mySQL

Many people recommended to try prototyping using php and mySQL server and even more asked how to start with it What is needed ...
Submitted by MikeBeer   3 years ago.
  • viewed 381 times
Last answer posted 3 years ago by MikeBeer


Q:

Can you connect to two mysql databases on one php ...

Can you connect to two mysql databases on one php page?
Submitted by myed   1 year ago.
  • viewed 559 times


Q:

How to store xml file in mysql when a button is ...

how to store xml file in mysql when a button is clicked using php ? how to get xml file from mysql when another button is clicked ...
Submitted by hyma   1 year ago.
  • viewed 81 times



» More...

Explore Related Posts in Forums

PHP/MySQL and htaccess

Hi, all I want to do is build a simple script that uses htaccess to check for a password in a mysql Hi, all I want to do is build a simple script that uses htaccess to check for a password in a mysql database, if the password... is right they get into the page, and if not, they get the unathorized page. I would really appreciate if somebody helps...

PHP not showing up when using htaccess

Www.wschristianchurch.org doesn't show any PHP coding. My htaccess file when named .htaccess , the site times out and won't come up. When I rename it htaccess, the site comes up but the PHP does of PHP coding. This is a sure sign that the PHP coding on that webpage is incorrect. From those two

PHP Authentication And .htaccess

With .htaccess files To have the .htaccess file use a mysql database for username and password possible? Because both the php and .htaccess authentication systems are now set up to verify username in a mysql database. If so, could the .htaccess file be directed to look in the mysql database
» More...
Powered by
Feed - Subscribe to changes to this Q&A Blog
ADVERTISEMENT
  • Answers
  • Web
Copyright © 2006-2009, Yedda Inc. and respective copyright owners · CC License