OT but related question

K

Kevin Spencer

You could certainly store the files in your web site. Put them into a folder
and disallow browsing for that folder. Note: Someone could conceivably
download a file from such a folder, but they would have to know the file
name and path to do so.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
D

des

Hi,

Not about Frontpage but seems best place to get an answer and I am using
Frontpage to create my site so here goes.

I want to use my web space with a live web site to also store some files
transfered by FTP. The idea is that the files can be uploaded by my program
and then downloaded by another person at a different location.

What I am wondering is, are there any problems using the web space to store
files, could anyone just browsing the site get access to the files? Or are
there any other side effects.

The upload/download will be done using FTP built into the program so there
are no links to the files on the web pages themselves.

Sorry if this is a silly question but I am new to websites.

TIA.
Des.
 
D

David Baxter

To add to what Kevin has said, the easiest way to prevent a directory
listing is to make sure it contains an index.html page (assuming that is
the default name for your home page on your server).

If the files are in a separate directory with no other existing html
files, simply create and upload an empty index.html file to the
directory containing the other files:

<html>
<head>
<body>
Place holder
</body>
</html>

This will prevent a directory listing for casual browsers.

Alternatively, again assuming the files are in a separate subdirectory,
if you are on a Unix/Linux server and know how to setup use the
..htaccess and .htpasswd files, you can password protect the subdirectory
containing the files.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top