News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Can you abbreviate the urls under custom buttons to mask the full path of it?

Started by rcane, March 30, 2022, 07:55:48 PM

Previous topic - Next topic

rcane

Hello,
Made a few custom buttons that go to php files to run some DB -> html tables. 

I'd prefer to not have the url show on button hover.  Is that possible?

Arantor

Not really, no, because even if you make it a real button with a form submission, literally all major browsers have a menu option to right click and inspect the element.

If the URL should be protected against misuse, doing it by hiding the link isn't the way to go - make the actual page itself have protection. Security through obscurity is not secure, never has been.
Holder of controversial views, all of which my own.


rcane

Quote from: Arantor on March 30, 2022, 07:57:33 PMNot really, no, because even if you make it a real button with a form submission, literally all major browsers have a menu option to right click and inspect the element.

If the URL should be protected against misuse, doing it by hiding the link isn't the way to go - make the actual page itself have protection. Security through obscurity is not secure, never has been.

Ok.  I've go that in the page--tests to verify membergroup and not being a guest.   Just trying to think ahead.

Advertisement: