473,513 Members | 2,552 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

File browser cgi in python


Are there any reasonably secure file browser implementations for
unix/linux (and perhaps MacOS X and Windows as well) written in python,
that are accessed over https via a cgi script?

Thanks.

Jul 18 '05 #1
2 2637


Dan Stromberg wrote:
Are there any reasonably secure file browser implementations for
unix/linux (and perhaps MacOS X and Windows as well) written in python,
that are accessed over https via a cgi script?

Thanks.

I've been using Konqueror, part of the KDE package, for the last few
days. I've had no problems so far.

Colin W.
Jul 18 '05 #2
"Colin J. Williams" <cj*@sympatico.ca> wrote in message news:<wf*********************@news20.bellglobal.co m>...

Dan Stromberg wrote:
Are there any reasonably secure file browser implementations for
unix/linux (and perhaps MacOS X and Windows as well) written in python,
that are accessed over https via a cgi script?


I've been using Konqueror, part of the KDE package, for the last few
days. I've had no problems so far.


I imagine that the file browser functionality may be desired on the
server side; that is, the desired implementation will provide file
browsing support to Web-based clients which navigate to a given URL
and are given a view of files or resources. On that front, one might
want to consider various WebDAV implementations which will actually
give a "genuine" file browsing experience with both Konqueror and
other Web/file browser clients.

As far as generic WebDAV support is concerned, the only package for
Python that I've managed to find is this one:

http://webdav.de/

Meanwhile, Zope and its derivatives do export their internal
filesystems/databases using WebDAV, and since WebDAV support within
Web applications mostly seems to involve supporting the various extra
HTTP request methods, it might be possible to just add code for such
methods in order to "enable" existing applications for WebDAV.

Of course, it should be remembered that Apache has always been able to
expose directory contents using fairly simple HTML pages, and there is
also WebDAV support for Apache 2 (at the very least). So it may not be
completely necessary to do this with Python.

Paul
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1198
by: Nowan | last post by:
Hi, I'm running Win 2K Pro Apache 1.3 (IBM version, starting manually, not a service) Spyce 1.3.11 (latest version) Python 2.2.2 (ActiveState) Everything installed as an administrator.
2
2506
by: Dave | last post by:
Greetings. Ive been trying to figure out how I can write to a file from an HTTP post while it is being uploaded. So far ive realized that my script isn't getting the data until the browser is done uploading. What I want to accomplish is a way to track the progress of a file upload. I'm guessing that if I can get it to write to a file as...
2
1413
by: kowald | last post by:
Hi everybody, I used python to build a HTML file and now I would like to automatically start my browser to display this file. I guess I could use os.system(), but then I had to specify a specific path to the browser. I wonder if it is possible to tell windows to open "myFile.html" using the program that is registered to open html files...
7
12472
by: Rune Strand | last post by:
What would it take to create a Firefox extension that enables Python as a script language in the browser - just like Javascript? Is it at all possible? Are the hundred good reasons not to bother? I once made an application that used MozPython. It was fun and very fast compared to the Mod_Python I eventually replaced it with. I had to,...
3
2759
by: Stefan Schwarzer | last post by:
Hello, from time to time I want to inspect the source code of projects on remote computers.(*) I've googled for one or two hours but didn't find anything helpful. :-/ I'm looking for something like IDLE's path browser - i. e. a tree view and file view side-by-side - but with the following differences: - doesn't need an X connection to...
8
1965
by: Max Steel | last post by:
Hey gang, I'm new to python coding. I'm trying to find the simplest way to open a text file (on the same server) and display it's content. The text file is plain text (no markup language of any kind). The filename gets found and placed into a variable named I'm using python to find the text files, and a .ezt template to display the...
2
2159
by: skulka3 | last post by:
Hello, I want to implement file downloads inside an authenticated web page, such that when a user clicks a link, the server side python code connects to a ftp server, downloads a relevant file and then streams the file to the browser for the user to open it with the appropriate application. In this case it will either be a pdf or a tiff...
2
2759
by: krishnakant Mane | last post by:
hello all, as I posted in my previous thread, I am generating html reports for my client software. I am yet to find a satisfactory module which can help me actually create headings, bold and italics etc without merging html with data variables. any ways I am right now doing the hamd coding myself. may be I have overlooked some module....
2
3914
by: nikosk | last post by:
I just spent a whole day trying to read an xml file and I got stuck with the following error: Exception Type: UnicodeEncodeError Exception Value: 'charmap' codec can't encode characters in position 164-167: character maps to <undefined> Exception Location: C:\Python25\lib\encodings\cp1252.py in encode, line 12 The string that could...
0
7178
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...
0
7397
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7565
jinu1996
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...
0
7543
tracyyun
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...
0
5704
agi2029
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...
0
4759
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...
0
3255
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3242
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
817
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.