Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Mojolicious::Lite and Webperl

by LanX (Saint)
on Apr 10, 2019 at 16:50 UTC ( [id://1232412]=note: print w/replies, xml ) Need Help??


in reply to Mojolicious::Lite and Webperl

This sounds like an XY Problem for me.

Distributing a web application to every user to be capable to run an SQL query means that the access to the SQL-Server is exposed to everybody who looks into the HTML sources.

If you can't install a web application on your companies apache why don't you try to run Mojolicious standalone on another "private" host?

You can put a static page on your apache which redirects to this private server.

Your application doesn't seem to be heavy enough to exclude being run in Mojo's own webserver.

I really like seeing more apps running into webperl but this sounds weird.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Replies are listed 'Best First'.
Re^2: Mojolicious::Lite and Webperl
by frazap (Monk) on Apr 11, 2019 at 09:13 UTC
    Thanks for commenting LanX

    We did what you outlined above: run the mojolicous daemon on a virtual server on a Windows pc, and link to the generated search page from the main site.

    The script is in my my scratchpad, and the interface is a just a form web page.

    And, yes: using one app that would be run in the browser using WebPerl would have the same problem as distributing an exe that would be run on every interested user'pc: how to prevent users from getting access to the mysql server directly.

    frazap

      > We did what you outlined above:

      So your problem is solved now?

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Yes it is...

        frazap

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1232412]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-20 04:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found