in reply to Re^2: Passing a regex from a CGI HTML form
in thread Passing a regex from a CGI HTML form
Hi Linicks,
Doing an eval or s///ee with a value supplied by a user on an HTML form is the equivalent of giving that user shell access to the machine. You keep saying that only you know the address of the machine, but if security by obscurity is your only security, then one day, for example if your page is discovered by a crawler, that'll mean game over for your server. That's why everyone has been saying to be very careful with eval and security by obscurity, and they are right!
To make one more recommendation because I don't think it's been made yet: At least throw some HTTP digest authentication on there along with the SSL.
Hope this helps,
-- Hauke D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Passing a regex from a CGI HTML form
by Linicks (Scribe) on Sep 03, 2016 at 11:15 UTC | |
by haukex (Archbishop) on Sep 03, 2016 at 11:48 UTC | |
by Linicks (Scribe) on Sep 03, 2016 at 16:00 UTC | |
by Your Mother (Archbishop) on Sep 03, 2016 at 22:51 UTC |