Hi,
NB, not to stop capturing the single displayed Image, but to stop downloading
the entire image directory.
(In my Website you will do a search, and get some thumbnails, and these can be
enlarged one by one).
This topic seems to be frequent.
Some says that you under no circumstances can protect your images, others seem
to have preventing solutions.
Some says that everything uploaded to your web server can be taken down, others
manage to hide files.
As far as I understand so far I have an idea that the following might work.
Please guide me!
My Web provider has given me a space which has a Root folder, and below it is
the WebSiteRoot, which contains my website. The Root folder should not be
available for Web users. There I for instance put my Access DB (accessed through
ODBC). I have FTP access to this space.
So, I would like to put my Image folder in the Root folder, and have my Provider
make it a Virtual Directory in IIS, with an Alias name, and with No Browse
permissons (I hope that does not stop me from seeing it in my FTP program...),
but Write permisson (for me to upload to it), Read permisson (for the Web to get
the images), and with Anonymous Access set off.
Then I can refer to this Virtual Directory from inside my Website, using the
Alias name.
And in IMG SRC you may see the (alias) URL to this Virtual Directory, but an
outside user should not be able to access it.
Could this stop a user from downloading any images from my Image-folder?
Even if they are using some sort of ripoff utility?
(Or should I have to take a step further and ADO stream the image to the
htm-page through an ASP page in order to hide the URL completely?)
(And also, IF the ASP pages are invisible to the browser - could I hide my
images by renaming my .jpg-files to .asp-files? - I mean, the browser gladly
displays the image even if it is called .asp).
Thanks
Larry
Jul 19 '05
11 8907
I'm jumping in a little late, but try to think of it this way..
A user requests a page, they get the page.
On the page are links to images <img src="thefolder\ thefile.jpg">
The browser then requests those files.
So, if your images are named in a manner that is easy to figure out (such as
numerically 1.jpg, 2.jpg etc, or alphabetically a.jpg, b.jpg) then it's hard
to prevent someone from writing a script to grab all of them.
To prevent a bulk download script, you can give them hard to guess names
such as "ThePictureOfBo bWearingAFunnyH at.jpg" or you can use the ADO stream
method you mentioned.
The Toronto Sunshine Girl page www.canoe.ca/TorontoSunshine only shows the
Sunshine Girl of the day, however; they store each picture as ssg.jpg in a
subdirectory of the days date (eg .Aug8/ssg.jpg ) so it didn't take long to
write a script that produces....
<img src="Aug8/ssg.jpg">
<img src="Aug7/ssg.jpg">
If they had named them individually, such as JaneDoe.jpg, it would have been
"impossible " to script that.
"LarryM" <lm****@telia.c om> wrote in message
news:ae******** *************** *********@4ax.c om... Hi,
NB, not to stop capturing the single displayed Image, but to stop
downloading the entire image directory. (In my Website you will do a search, and get some thumbnails, and these
can be enlarged one by one).
This topic seems to be frequent. Some says that you under no circumstances can protect your images, others
seem to have preventing solutions. Some says that everything uploaded to your web server can be taken down,
others manage to hide files.
As far as I understand so far I have an idea that the following might
work. Please guide me!
My Web provider has given me a space which has a Root folder, and below it
is the WebSiteRoot, which contains my website. The Root folder should not be available for Web users. There I for instance put my Access DB (accessed
through ODBC). I have FTP access to this space.
So, I would like to put my Image folder in the Root folder, and have my
Provider make it a Virtual Directory in IIS, with an Alias name, and with No Browse permissons (I hope that does not stop me from seeing it in my FTP
program...), but Write permisson (for me to upload to it), Read permisson (for the Web
to get the images), and with Anonymous Access set off.
Then I can refer to this Virtual Directory from inside my Website, using
the Alias name. And in IMG SRC you may see the (alias) URL to this Virtual Directory, but
an outside user should not be able to access it.
Could this stop a user from downloading any images from my Image-folder? Even if they are using some sort of ripoff utility?
(Or should I have to take a step further and ADO stream the image to the htm-page through an ASP page in order to hide the URL completely?)
(And also, IF the ASP pages are invisible to the browser - could I hide my images by renaming my .jpg-files to .asp-files? - I mean, the browser
gladly displays the image even if it is called .asp).
Thanks Larry
Why not protect the image folder by referrer, only allowing access from
approved pages within your website ?
That will solve some of your headaches.
Are these images only available to members (password protected) ?
You can either hand code this, or use AuthentiX. http://www.flicks.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: benjamin |
last post by:
A pygame/python game resource question
######################################
I wander whether there is any possibility to compile a bunch of
resources for a program, like images and soundfiles into a package
like, let´s say "game.dat", so they do´t fly around in the programs
folder und can be edited by everyone.
Hope somebody can help me.
|
by: IkBenHet |
last post by:
Hello,
I use this script to upload image files to a folder on a IIS6 server:
******************* START UPLOAD.ASPX FILE **********************
<%@ Page Language="VB" Debug="true" %>
|
by: Bill |
last post by:
Anyone have any success in using global.asax to protect images in a folder from being
linked to by external websites?
I'd tried to use global.asa in the past, with no success. Any help would be appreciated.
THANKS,
Bill.
|
by: Garry Jones |
last post by:
I need to create a page with a password where I show photos. How do I stop
people from accessing the jpgs directly without going through the password
function.
I am using Windows XP and have a website which supports Mysql and php.
The end result should be a page where the user can type in a password and
access a few pages of thumbnails which can be clicked for enlargements.
Garry Jones
|
by: Wayne Smith |
last post by:
I've come up against a major headache that I can't seem to find a solution
for but I'm sure there must be a workaround and I would really be grateful
of any help.
I'm currently building a web site for a small club I belong to and one of
the features I would like to include is the ability to allow users to upload
image files.
unfortunately the servers web root www folder only allows READ and EXECUTE
permissions, which makes it...
| |
by: John Kotuby |
last post by:
Hi all,
Maybe this is a simple problem found in ASP.NET 2.0 course 101, but I must
have missed it. When I create a page in Visual Web Developer and use URLs
like "/images/picture.gif " or a link like <a
href="../../Search/page.aspx">,
everything works fine as long as I publish the site to a root web like
http://localhost.
However, I am developing on my local C drive in c:\development\project. I
|
by: =?Utf-8?B?TWlrZQ==?= |
last post by:
Hi. I have an ASP.NET 2.0 web application which contains an Images directory
with all website images. How can I prevent other websites from creating img
tags with the source as my images? I want to prevent other websites from
serving my image.
For example - How can I prevent another website from doing this?
<img src="http://mywebsitename/images/image1.jpg"
Is this possible? Thanks
|
by: paitoon |
last post by:
Helle
I have problem about .htaccess in my site. My purpose is i want to protect a folder name's IMAGES in my site then i put .htaccess into that folder. But instead of the IMAGES folder will be protected but i could not open my site at all.seems like it not only protect the IMAGES folder but it protects to open my site also.
what should i do ? and what is the actually syntext to do this?
I use this systext;
AuthUserFile...
|
by: JOHNSHELL08 |
last post by:
Dear sir,
Please tell me the way to protect folder in usb drive and this will be always protect on every pc. what is the method or it is done by any software ? so please give the software download link or method to protect folder in usb drive
i searched it in google but i could not find any solution. so please give the solution
Thanks....................
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |