Go Back   Computer Forums > Web Design | Website Development > Web Design and Development | Site Reviews
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 05-31-2004, 01:49 AM   #1
Beta Member
 
Join Date: May 2004
Posts: 1
Default Website Lock

I need a program that will not allow any visitor to my website to right click on the pictures and save them on to their computers. Indirectly.... a WEBSITE LOCK..... Please help me out with this one....thanks!!!!
__________________

unknown_century is offline   Reply With Quote
Old 06-09-2004, 05:26 PM   #2
Baseband Member
 
DCHWeb's Avatar
 
Join Date: Jun 2004
Posts: 37
Send a message via AIM to DCHWeb Send a message via MSN to DCHWeb Send a message via Yahoo to DCHWeb
Default

That cannot be done. Sure there are javascript scripts that try to disable right clicking, but it just doesn't always work. for example, in firefox, the scripts used for internet explorer don't disable the menu, they just pop up the box. Also if a user sees that your site has a javascript script disabling right-clicking, all he or she would have to do would be to disable javascript in his or her browser and bingo, no lock. If all else fails, all he or she would have to do is google image search your site for all images, get the file name and then use wget or something to download it directly.
__________________

__________________
"I am nothing to you but Captain Nemo; and you and your companions are nothing to me but the passengers of the Nautilus."

http://www.dchweb.com/
http://games.dchweb.com/
DCHWeb is offline   Reply With Quote
Old 06-09-2004, 07:48 PM   #3
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: Website Lock

sure it can be done, try linking a picture from freeservers or from goecities accounts. you'll see a nice notice saying that you cannot link instead of the graphic you wanted.
I think this is something you can setup in the actual webserver. I know there arealso scripts available, they will be server side script like PHP, ASP or PERL rather than clientside virtual machine scripts like Javascript.
root is offline   Reply With Quote
Old 06-09-2004, 08:14 PM   #4
Baseband Member
 
DCHWeb's Avatar
 
Join Date: Jun 2004
Posts: 37
Send a message via AIM to DCHWeb Send a message via MSN to DCHWeb Send a message via Yahoo to DCHWeb
Default

Ahh, I never thought of that. PHP has image functions, but I don't have the slightest clue how to use them. You might look into that.
__________________
"I am nothing to you but Captain Nemo; and you and your companions are nothing to me but the passengers of the Nautilus."

http://www.dchweb.com/
http://games.dchweb.com/
DCHWeb is offline   Reply With Quote
Old 06-09-2004, 08:56 PM   #5
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 7,999
Default Re: Website Lock

the way I would suggest doing this is storing the image files as blobs (binary larg objects) in a database, then they cannot be linked externally as they will need to be called from the database by the page.
root is offline   Reply With Quote
Old 06-10-2004, 10:46 AM   #6
Baseband Member
 
DCHWeb's Avatar
 
Join Date: Jun 2004
Posts: 37
Send a message via AIM to DCHWeb Send a message via MSN to DCHWeb Send a message via Yahoo to DCHWeb
Default

Now that is a good idea, I had no idea a database could store binary data. How do you insert the binary data into, say MySQL?
__________________

__________________
"I am nothing to you but Captain Nemo; and you and your companions are nothing to me but the passengers of the Nautilus."

http://www.dchweb.com/
http://games.dchweb.com/
DCHWeb is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 01:11 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0