is it posible to hide url paths

is possible to hide url paths so if some one right clicks on the picture on my site cannot see the location/Path
Zirwo01Asked:
Who is Participating?
 
Hugh McCurdyConnect With a Mentor Commented:
Based on it being GoDaddy, I suspect HainKurt's might be the best.

You could look at what Sports Illustrated did with people attempting to download the swimsuit model images.  You could go there and right click on the image, save it and then open it to find out you don't have a picture of a model.  If, however, you view page info, you can find the actual location of the picture.  So, if you used their method, people could still find the location.

Serving music is a bit different.  I don't know if this is possible using GoDaddy, but I could do it on my employer's Linux server.  I'd "copy" the music into a queue.  By "copy" I wouldn't actually copy the files.  I'd make a queue that really was symbolic links and then serve them.  (And erase links already served -- which shouldn't even affect the original.)

You'd need to be able to execute shell commands and have an understanding of Linux (or some Unix).


I'm sure there are other approaches but I don't know what they are.
0
 
HainKurtSr. System AnalystCommented:
NO! unless you create a custom page which serves the image like

<img src="getImg.asp?id=2423">

but this time, if somebody just types

http://domain.com/somepath/getImg.asp?id=2423

they get the image, unless in this page you also check some cookies, session variebles etc... if user is authonticated, then send the image (read the file, binary write) o/w just send a blank image or an image that says "you are not authonticated bla bla..."
0
 
Hugh McCurdyCommented:
Can you give more information?  What are you trying to protect?  Are you trying to keep people from downloading photos?

It's not completely possible because the browser downloaded the photo to display it.  
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
Zirwo01Author Commented:
I am streamingmusic and I am trying to hide the path to the music folder
0
 
Hugh McCurdyCommented:
What's the server O/S?  If it's Linux or other Unix, I have an idea.
0
 
Zirwo01Author Commented:
it is hosted by Godaddy.com I believe is windows base server.
0
 
Zirwo01Author Commented:
Thanks......

One more question.

What about hiding http://theonlinebeatz.com/music/bachata/ so the address bat only shows http://theonlinebeatz.com
0
 
Hugh McCurdyCommented:
You might be able to do something like that if you used $_POST.  Someone like me could figure out what you did an bypass it though.  (I wouldn't but someone else with my skills could.)

The main page would have to be index.php and be a PHP script that either served the main page or served the file.  Still, it's going to be tricky to hide it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.