Previous: Configuration files


Try it!

See the picture below? It's called demo.jpg.

Right-click on it, select "properties" and check: demo.jpg, right?

Demo image

So now: take a closer look at demo.jpg. Click here, or type it into the title bar. (On Firefox, you can even "View image".) Notice any difference?

But it's the same file, isn't it?

DeLeach Troubleshooter:

If you're having technical problems, this is your first port of call.

How do I get a basic DeLeach installation going?

Let's assume you've already got a website running on an IIS server. In that case, you need to do three things:

  1. Make sure DeLeach is installed and enabled on your webserver. (How do I do that?)
  2. Create directories (folders) in your website representing the policies you want to use.
    (Even if you haven't defined any policies or rules of your own, the policies _self and _def are guaranteed to work, so start with those.)
  3. Move the files you want to protect into the _self directory.
    (You can also create stand-in files in the _def directory if you want, but it's not necessary to do that right now.)

DeLeach doesn't seem to be showing my protected files.

If your protected files don't show up, the most likely explanation is that DeLeach isn't being activated. Check that: IIS filter dialog

If that doesn't fix the problem, the trouble might be with your web browser. Most web browsers can be set up to suppress the referer headers which DeLeach uses. You can check this easily - the test picture at left should be showing a glamour puss, not a hunk.

DeLeach isn't blocking my protected files correctly.

First, check the basics: are your protected files really protected? Make sure they only appear in the _self directory, not in the website's root directory, or the _def directory.

Now we need to check that it's not the effects of the browser you're seeing. Type the web address of the protected file (e.g. http://www.you.com/secret.jpg) into the browser's address bar, then refresh the browser. Note that:

If it's so hard to see DeLeach blocking the protected files, how do I know it's working?

There are things you can do to see DeLeach's effects more clearly:

Of course, you won't need to take such measures when you deploy the website for real. This is just so you can defeat the caching on your browsers.

You have to bear in mind that DeLeach isn't trying to protect your files from you, it's trying to protect them from strangers. So the fact that it can be tricky to do side-by-side comparisons in no way suggests that DeLeach isn't working for you.