Re: Possibly strange question regarding VB.NET and CGI

From: Tom Shelton (tom_at_YOUKNOWTHEDRILLmtogden.com)
Date: 12/18/04


Date: Sat, 18 Dec 2004 02:21:09 -0800

On 2004-12-18, Nak <a@a.com> wrote:
> Hi there,
>
> Im currently developing a web site using PHP. Unfortunately due to
> limitations with my web server I am having to use XML as a method of data
> persitance, this doesn't really bother me as I prefer XML anyway. I'm not
> using ASP.NET for design reasons at the moment.
>
> At the moment I am fighting a design battle in relation to file writing
> and various locking methods which all appear to be very unreliable. That's
> why I am looking into CGI. Now apparently any application can use CGI as
> long as it implements a specific interface (though what this is I haven't
> quite worked out yet). So I'm just wondering if it is at all possible to
> use VB.NET with CGI?
>
> Writing some code to perform XML work with VB.NET will be a piece of
> cake obviously and probably the main reason why I should be using ASP.NET
> anyway, but for now I am looking into alternatives. Has anyone known this
> to be done? I've seen examples of it one in legacy VB via stdio stream
> handling, so it must be possible with VB.NET right?
>
> Anyway, any thoughts on this would be greatly appreciated. Thanks loads
> in advance!
>
> Nick.
>
>

Yes it's possible. Basically, you would just create your CGI
application as a Console app. I won't go into the details of CGI here -
but essentially, all a language has to be able to do is read environment
variables and handle stdin and stdout. So, your good here :) The place
where you may have difficulty (at least I did when I played with this
year or so ago) is getting the permissions right so that your
application will run.

-- 
Tom Shelton [MVP]


Relevant Pages

  • Re: Bareword errors?
    ... fact that CGI.pm securely parses CGI arguments does not imply a claim that doing so is all that's needed to securely write CGI applications. ... He didn't just claim that CGI.pm makes a difference as regards security, he talked about "putting your web site, server and users at risk" if you choose to not use it. ... my belief is that using such arguments for advocating the use of CGI.pm _does_ give the incorrect impression that you write significantly more secure CGI programs only by using it. ...
    (comp.lang.perl.misc)
  • Re: Problems with LWP::UserAgent
    ... Providing interactive features in the CGI ... Batch harvesting of pages meant for human perusal, ... I have no desire to circumvent Safari's security -- I'm ... the web site. ...
    (perl.beginners)
  • [NT] Perception LiteServe HTTP CGI Disclosure Vulnerability
    ... Christopher Fillion's "Perception" web site hosts the LiteServe ... Interface (CGI) feature that allows you to specify a CGI alias, ... A vulnerability in the server related to the handling of filenames on ...
    (Securiteam)
  • Windows 2003 - IIS 6 - local CGI Authentication problem.
    ... We have a web site with authentication set to ... "integrated windows authentication". ... This web site call a cgi. ...
    (microsoft.public.inetserver.iis)
  • Re: Help with choice of suitable Architecture
    ... JavaScript in particular, messing up accessibility. ... In the mean time, I recommend Quixote (yes, you can run it on CGI). ... > I'll look into the problem of concurrent access to an XML file. ... parts of locking, transactions &c.). ...
    (comp.lang.python)