-
If the images are being displayed on the webpage, then there is no way to stop a person from getting them. (to my knowledge)
For starters, as long as the image isn't inside a hyperlink, you can click and drag it to the address bar and viola, the image will appear all on its own, ready to right-click and save it! (I hear theres a way to eliminate this tho, with multiple divs I believe!)
Or else, all a person has to do is clear their cache, refresh the page, then snoop through their cache and find the image. (I say clear the cache first because then it's easier to find, but you don't really have to clear it first)
Basically, if it is on a webpage, the browser has to download it to display it. So it will be on the clients computer in their cache directory somewhere.
If it is just an image that isn't being used, and you noticed someone grabbing it (as mentioned) then possibly directory browsing is enabled and the person found the path to its directory, which would then give a list of all items in that directory, and then anything in it can be downloaded/viewed. If this is the case, you could have directory browsing turned off, or just move the image(s) from the directory to somewhere safer. (I recommend turning directory browsing off tho!)
There is apparently also a utility from MS that will encrypt code for webpages, but I am pretty sure this won't work for images. (please correct me if I'm wrong!)
As for JavaScript code to eliminate right-clicking, it mainly just deters people from grabbing the images, since as I mentioned above, there are other ways to get them!
Good luck though!
(ps: I don't have the right-click code handy or else I would post it for you, and I've seen it before in this forum somewhere a couple of times, but I did a search and could not find it! I'm sure someone else will be able to help you with it tho)
*!*!*
Edit -> I just checked, and yes, you have directory browsing enabled!! Might want to look into having that turned off!!!
[This message has been edited by ^hyd^ (edited 07-29-2001).]
-
Stat and java script code
I have had more than one company interested in a project that I am working on. One company mentioned the words "joint venture" using my idea and design. When I get my stats I am finding this:
"IP ADRESS INSERTED HERE -- [24/Jul/2001:19:26:07 +0000] GET /images/crabhouse.jpg HTTP/1.1" 200 6957 "http://www.mdrealty.tv/" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
Does that mean someone is saving my copywrited images onto thier computer? If so I would like to put a stop to this with a java script code.
Please lead me to your code!
-
Mr. Hyd,
Boy would I love to pick your brain. Would you mind answering a few tiny questions?
Is what I am seeing in my stats indicating that someone is saving my images?
How do I *turn off* directory browsing?
-
hi mamaentre!
yes, according to your snippet:
"IP ADRESS INSERTED HERE -- [24/Jul/2001:19:26:07 +0000] GET /images/crabhouse.jpg HTTP/1.1" 200 6957 "http://www.mdrealty.tv/" "Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)"
it looks like someone at least got the one pic!
you will have to ask the server admin to have directory browsing turned off!
another option is to find out what the default page name is for your directories (ie: the page that will load without a reference to it, usually default.htm or index.htm, you can just try both if you want) and create a page with that name to put in there. Then, the only content you will need in the page is the following line:
Code:
<META HTTP-EQUIV="refresh" CONTENT="0; URL=yourstartpage.htm">
'refresh' means just that, refresh, the 'content="0;' is saying refresh in 0 seconds, and 'url=yourstartpage.htm' is the page to refresh to, change this to your home page (ie: 'http://www.mdrealty.tv/' should work fine). Then when a person types "http://www.mdrealty.tv/images/" the default page will execute and send them back to the main website, instead of listing all the contents in the images directory.
This line 'should' do the trick:
Code:
<META HTTP-EQUIV="refresh" CONTENT="0; URL=http://www.mdrealty.tv/">
Good luck! Let me know if it works!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
New Security Features Planned for Firefox 4
Another Laptop Theft Exposes 21K Patients' Data
Oracle Hits to Road to Pitch Data Center Plans
Microsoft Preps Array of Windows Patches
Microsoft Nears IE9 Beta With Final Preview
Simplified Analytics Improve CRM, BI Tools
Android Passes RIM as Top Mobile OS in 2Q
VMware Updates Hyperic System Management
File Monitoring Key to Enterprise Security
LinkedIn Snaps Up SaaS Player mSpoke
|
Bookmarks