473,799 Members | 2,764 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 2660


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.bellglob al.com>...

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
1210
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
2518
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 it is uploaded I can load another browser to check the progress of the transfer (by refreshing). ...
2
1424
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 (similar to double clicking on the file).
7
12505
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, because of all the mess updating Mozilla caused. ActiveState has a project too . But none of these can...
3
2788
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 the remote computer where the sources are
8
1996
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 list of the files. But I can't figure out how to read the contents of the file, and display it...
2
2175
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 file. This function is quite similar to something like writing raw bytes to a ServletOutputStream...
2
2773
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. right now I am in the process of trying templayer. but my main issue is that when I use the
2
3945
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 not be encoded/decoded was: H_C="ÊÉÍÁ" A_C
0
9541
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10482
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10225
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10027
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7564
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6805
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5463
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4139
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3759
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.