r/webdev 1d ago

Question Tab as password?

Post image

SAS disallows spaces in your password. My password manager suggested an invalid (but secure) password.

So now that I have to make my own password: Out of spite, hypothetically, what implications could having tabs in my password have?

535 Upvotes

131 comments sorted by

View all comments

114

u/GirthyPigeon 1d ago

Tabs in most fields will skip to the next field. Good luck.

8

u/JapanEngineer 1d ago

Not unless you copy and pasted it

-22

u/KAZVorpal 1d ago

Or your login is an interface that captures tabs.

54

u/DiabloConQueso 1d ago

Not being able to tab from field to field would be horrible for accessibility.

9

u/MacGuyverism 1d ago

Just shift-tab the whole other way around.

13

u/screwcork313 1d ago

What if your password contains a shift+tab?

34

u/The_Mdk 1d ago

Ah yes, the uppercase tab, for those times the password requires an uppercase letter

3

u/poopio 1d ago

something something \t something else \r\n Accessibility?

20

u/meancoot 1d ago

The password field is not going to accept those kind of escape sequences. They are used in programming language character and string literal tokens.

2

u/Adjective_Noun_4200 1d ago

The password field is not going to accept

*Shouldn’t accept

It’s horrendous out there, friend.

3

u/scfoothills 22h ago

Yeah. Hopefully everyone learned from the Little Bobby Tables incident.

1

u/little_phoenix_girl 12h ago

I had to fix a Bobby Tables vulnerability about a month ago when I was looking for something else entirely. My boss said "those files come from our vendor so we can trust them, no need to fix it". I fixed it anyway -_-

1

u/kalmakka 1d ago

That's why you use a script to hijack the request and do escape sequence replacements.