Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Keep It Simple, Stupid
 
PerlMonks  

Re: Re: Re: Essential CGI Security Practices

by belg4mit (Prior)
on Feb 02, 2002 at 21:10 UTC ( [id://143003]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re^2: Essential CGI Security Practices
in thread Essential CGI Security Practices

Are you replying to the right node? If so, I say nothing of fatalsToBrowser. And Invalid password/Invalid login is something the user can fix, and it is not really input validation as you cannot (usually) do it programmatically i.e. verify that the user has in fact authenticated himself. Also my discussion of paths (your point about open) was seperate, following "on the other hand", therefore we are in accordance.

--
perl -pe "s/\b;([st])/'\1/mg"

  • Comment on Re: Re: Re: Essential CGI Security Practices

Replies are listed 'Best First'.
Re^4: Essential CGI Security Practices
by Aristotle (Chancellor) on Feb 02, 2002 at 21:46 UTC
    Yes, I was replying to your note. I think you simply confused the one kind of error message with a different kind of error message. There's a distinct difference between what you were talking about and those error messages that should not be let out due to CGI security concerns. Input validation, as I mentioned it, was meant in the extended sense of any and all checks you may perform on your input data - ie not only the initial "does this look like a valid username" but also "do we have this username in our database" and "does the password match". Point taken that you mention paths and similar information separately, however I think you should drop the condition "if you're truly paranoid" because if you're anything less than truly paranoid there's not even a chance of achieving security. :-)

    Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://143003]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.