Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Menu: password on an item
2013-08-07, 16:21
Post: #1
Menu: password on an item
Is there a way to put a password on an item in the menu?

If not, it would be a great feature to add!
Find all posts by this user
Quote this message in a reply
2013-08-08, 15:50
Post: #2
RE: Menu: password on an item
Not directly, but you can sort of work around it with some fancy scripting. You can make the menu item go to a label that asks for a username/password, then you can chain off to a server-side script that will validate the credentials, and depending on what it says it'll either return an empty or a full menu or do whatever it is supposed to do.
Visit this user's website Find all posts by this user
Quote this message in a reply
2013-08-08, 16:29
Post: #3
RE: Menu: password on an item
I'm looking for a way to lock a sub menu on the client side.

Something like this:
1 - Boot from hard disk
2 - Network utilities (administrators only)

With option 1 obviously being the default with a timeout value, and option 2 protected with a password.
Find all posts by this user
Quote this message in a reply
2013-08-22, 10:01
Post: #4
RE: Menu: password on an item
You can't do that in a secure way, but if you only want to make it a bit harder for normal users to reach the admin utils you can make the admin menu go to a script section that asks for username/password and then just check that the password matches a predefined password (which would be listed in the script file in cleartext). Obviously a smart user will be able to find the password by fetching the script using a browser, tftp client or something else. Normal, dumb, users won't be able to figure it out, though.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)