Using Jannis of InStacks' own words Repository is the perfect solution! Judge for yourself.
Setting up Repository is a breeze. Drag the new stack into a Stacks page (it needs to reside on its own page), set a user name and password and publish.
Open up your repository directory in the browser and drag files into it, or download the files that it contains. There's nothing else to it.
Or is there?
First step – setting the user and password – Repository doesn't save passwords as plaintext, but uses a hash code which you'll first need to generate. That's simple enough – got to the Repository instruction page, scroll down to Generating your own password hash, click the link and enter the password you'd like to use. Click 'Generate Hash' and copy the result into the Password Hash field in the stack settings. Only a single user is allowed.
As a further safety precaution, Repository also has a Blacklist and a Whitelist. Lists of file extension that may, or may not be uploaded. This means that potentially harmful files will never land on your server. I tried to upload an .exe file and received an error message. Something tells me that someone is taking security very seriously here.
There is, of course, more to the setup than just entering the password hash. If you want your clients to be able to access the folder, there are a few options available in the Repository stack settings that will help improve security.
"But why would you want your clients to be able to access the repository?" I hear you ask.
Because if your images are warehoused and your client has access to them, he/she can replace them at will. And, if you've added text blocks to your project using a stack such as Embed from S4S, he/she could change the text content too!
Repository currently offers two flavours. Bootstrap, or Material Design. Both look quite attractive when loaded in your browser (you don't see a lot in edit, or preview mode), but more importantly, the user interface is functional. The menu at the top of the page includes Refresh; Search; Upload; New Document; New Folder and Logout.
It's not immediately obvious, but you can just drag files into the browser window to upload them to the server.
Text files can be edited directly by clicking the Edit button, but the most distinctive feature is a built in lightbox for images.
Theme - Bootstrap Design, Material Design
Nav Back Colour
Nav Text Colour
Check Authentication - can be deactivated
Open Files In New Window
Then follow a flurry of additional options to allow, or disallow: File Download, Copy To Clipboard, Copy/Move Files/Directories, Create Directories, Create Files, Edit Files, Delete Files/Directories, Extract Archives, Upload, Rename, Create Archives.
Show: Last Modified Date, File Size, Image Dimensions, Owner, Group Htdocs, Hidden Files.
If you need a secure File Manager, Media Browser, and Online Text Editor for RapidWeaver, Repository is most certainly a very good choice.
FileMan, as you might guess from the name, is a File Manager for RapidWeaver. It has many uses that aren't immediately apparent.
FileMan creates a PHP database on your [client's] website. The database may optionally configured to allow file uploads, downloads and/or deletion.
Simplest scenario: you have a number of documents that you want to make available online. Drag them to your FileMan folder via FTP and they will immediately be accessible to anyone that can log in to the File Manager page.
The next possibility is a flat CMS solution. Let's say you have a warehoused client gallery, or slideshow online and your client wishes to swap out the images on a regular basis. Once the client has been instructed how to create the images accordingly, he/she could log in to their FileMan warehouse page, delete the old images and upload the new ones.
The same applies to text files (or whole HTML/Markdown pages) that are linked to DropCMS (Free download from Stacks4Stacks) boxes, or PDFs linked to the recently reviewed PDF Viewer.
FileMan couldn't be simpler to set up – as stated above, drag the stack to a Stacks page, upload the page and you're done. As soon as you access your new page, FileMan will create a PHP database and you can begin uploading files. You may, however, wish to do a little configuration first:
FileMan creates a directory outside of the RapidWeaver project. Directory Path will be the name of said folder on the server (refresh your FTP browser view after accessing the FileMan for the first time).
Login Password. Enter the password that will be used to access the FileMan Directory. Permissions – Read/Write, or Read Only.
Next the stacks panel has a number of options: Add Sample Files these may be deleted via FTP if the option Allow File Deletion remains checked before your initial upload. Allow Creation Of New Folders. Allow Direct Links allows files to be downloaded directly. Allow File Uploads allows the user to upload.
Disallowed Files contains a list of potentially harmful files that may not be uploaded to the server. You may add your own definitions to the list.
The remaining FileMan settings are for the localisation strings that you may wish to alter.
It remains to be said that FileMan – a free download, BTW – can be inserted into an iFrame and lightboxed – as demonstrated below.
Links to the developers ® All trademarks cited on this page are the property of their respective owners.
Do you have a question regarding RapidWeaver?
Would you like help with your new project?
Would you like us to build your new RapidWeaver website?
Don’t miss a post!
Sign up for our monthly newsletter.
A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.
265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.
We do not harvest or sell personal information.
© rjh web design 2010—16