!! Please complete the form...

FTP Host:
File path:
User name:
Forget me.
Remember me for this session.
Remember me for a day.
Remember me for a week.
Remember me for a month.
   . . . .    Lines:   Columns:   Ignore sections:

What is this?

This is WWE v0.4.0.

WWE is a program written to allow people who only have FTP-access to their web-sites to edit their web pages using a web browser.

Note: Download & installation info is at the bottom of this page.

How do I use it?

Simply fill out the form above and hit "Edit". If successful, the contents of the file you requested will be made available for editing within your browser. Otherwise the program will return an error message and let you try again.

If you are used to using FTP to upload files to your web-site, then most of the fields on the log-in page should be self explanitory. The only part which may confuse people, is the "File Path":

FIXME: Explain file paths...

Shortcuts, bookmarks, ...

It is possible to create a shortcut for editing a certain web-page, so you don't have to fill out the entire form each time. This is done by encoding the page location into the URL to WWE. When you edit a page with WWE, the shortcut URL for that page will be displayed near the bottom of the editor, which you can cut-and-paste into your bookmarks or even into the page source itself (so the pages can have "edit me" buttons which really work).

The autogenerated URLs don't contain the password, for security reasons.

Is WWE secure?

It depends!

First of all, it should be noted that the FTP protocol itself is rather insecure - it uses an unencrypted channel to transmit data back and forth, which makes evesdropping relatively simple. To make matters worse, WWE is an intermediate step in the communications - whoever installed the WWE you are using could easily evesdrop and steal the password to your web-site. So it's probably a very bad idea to use a WWE which is located on a stranger's web-site.

However, WWE can also be used to make things more secure. If an SSL enabled web server with WWE is installed by the administrator on the FTP host itself, then updating your site using the SSL secured WWE will actually be more secure than using plain-old FTP. SSL is the encryption technology used for online banking and things like that.

If this is all just a bunch of techno-mumbo-jumbo to you, but you are still concerned about the security of your web-site, then I suggest you consult your system administrator before using WWE. :-)

What about sessions and passwords?

As of WWE 0.4.0, you can ask WWE to remember your password for a certain amount of time to avoid having to log in every time you edit a page.

This is done in a relatively secure manner; passwords are encrypted using a randomly generated key and stored on the WWE server's hard drive. Your browser is given the key as a cookie. Without the secret key, the file on the WWE server's hard-drive should be very hard to decrypt, thus keeping your password secure. When you log out, both the password file and cookie will be deleted.

When using WWE over un-encrypted HTTP (not SSL), using a cookie like this will actually improve your security, since you have to trust the admin of the WWE server anyway and the password will only be sent over the 'wild-wild-web' once instead of being sent every time you edit a page.

Encryption is done using either the Blowfish (preferred) or DES algorithms, depending on what is available on the WWE server. If no encryption is available, users won't be given the option to store their passwords.

This server uses: Blowfish

Editing sections (instead of entire pages)

Most HTML pages contain a mixture of "layout" code (tables, icons, banners) and actual content (news, articles, other text, ...). When maintaining a web site you may only want to update some of the content regularly and leave the rest (especially the layout code) alone. In such cases, finding the things you really want to edit can be a bit like searching for a needle in a haystack.

Larger sites solve this sort of problem using databases and complex template-based publishing systems. For a small site, such a solution may be both too expensive and too complicated to make sense. WWE supports editing sections as a light-weight, cheap solution to this problem.

Editing sections are created by simply embedding markers within the HTML document itself, which instruct WWE whether the following text is supposed to be editable or not, and which style of editing you want to use. This is probably best explained with an example:

When this file is edited with WWE, the program will present the user with two boxes for editing, which will look something like this:

Page title

Page body

One thing to note here, is that because the "Page body" section was defined using "WWE edit simple", then the paragraph markers (<p> etc.) have been removed and replaced with empty lines. When the file is saved empty lines will automatically be converted back to paragraph boundaries. This may make it a little bit easier for people unfamiliar with HTML syntax to maintain the text on a web page.

WWE will automatically enter section-editing mode, if any <!--WWE ... --> markers are found in the edited document. To disable this behavior, check "Ignore sections" on the log-in page.

Can I install WWE myself?

Sure, if you know how to install Perl CGI programs. WWE requires the Net::FTP module. You will also want to install Crypt::Blowfish if you want to enable secure password storage and session support.

Get the source here, and be sure to edit the first few lines to match your local configuration. New releases are announced on Freshmeat.net.

If you add any cool new features to WWE or find any bugs, please share them with the author. Thanks!

WWE v0.4.0 by Bjarni Rúnar Einarsson