Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Any security holes?

by hippo (Bishop)
on Jun 26, 2022 at 19:41 UTC ( [id://11145095]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Any security holes?
in thread Any security holes?

why "name" more than word characters plus maybe . - and ' ?

See the excellent Falsehoods Programmers Believe About Names. I recognise and applaud your general sentiment but you need to be very careful about rejecting potentially valid data too.

If in doubt, refer to the spec. If there is no spec, insist on one.


🦛

Replies are listed 'Best First'.
Re^4: Any security holes?
by Your Mother (Archbishop) on Jun 26, 2022 at 19:47 UTC

    Ha! I only look like a biter. I didn’t see your reply, reading down in order, until I had posted mine.

Re^4: Any security holes?
by LanX (Saint) on Jun 26, 2022 at 20:21 UTC
    I was too lazy to come up with another field like maybe "ZIP-code" ... mea culpa.

    The intranet app I wrote back then was one for password resetting for the 10k+ users of our services inside our company.

    The "name" I'm referring to, was actually our normalized, standardized and unique employee-id inside our company.

    It actually only allowed /[a-z]/i (IIRC) and no space and is modelled roughly after "given-name"."family-name"

    But some of my colleagues allowed users to choose other usernames in our applications, but that's another story.

    I never wrote an app requesting users to register with their "real name".

    Anyway you two are right and I was wrong.

    > If in doubt, refer to the spec.

    I did. :)

    FWIW: I recently managed to skip a letter in my own family name on a flight ticket I booked online and panicked.

    Was no problem at all, turned out that airlines are allowed to accept up to 3 deviations.

    I think this is related to the article you and your mother° cited.

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery

    °) ;-P

    edit

    PS: Names_of_Sun_Yat-sen

Re^4: Any security holes?
by Jenda (Abbot) on Jun 27, 2022 at 19:55 UTC

    That article somehow reminded me of this video: https://www.youtube.com/watch?v=1LopIroSjsU

    And while I agree there is no need to be overly restrictive when it comes to names, some people deserve a good kick in the butt and a little ridicule ... and being forced to come up with a sane version of their name.

    Jenda
    1984 was supposed to be a warning,
    not a manual!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-03-28 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found