Announcement

  •  » Your Piwigo
  •  » Simple way to hide login from hackers

#1 2021-09-09 17:31:44

beepro
Member
2021-09-05
4

Simple way to hide login from hackers

Hello/Hi/Greetings,

I googled and found some complicated settings to hide the login prompt.

Today, I just renamed the identification.php to something I know (e.g. xyz.php), then inside the actual file, you need to rename it too

Line 103:

'F_LOGIN_ACTION' => get_root_url().'xyz.php',

now the login link is still there but it will give an error.

To actually log in, you type: 'yourpage.com/xyz.php' and it will work fine!

someone please tell me if this is a bad idea or not. I am new to piwigo.

Zack

Piwigo 11.5.0
Operating system: Linux
PHP: 7.3.30 
MySQL: 5.7.23-23 
Graphics Library: ImageMagick 6.9.10-68

Offline

 

#2 2021-09-10 07:22:35

nicolas
Former Piwigo Team
2004-12-30
1213

Re: Simple way to hide login from hackers

beepro wrote:

'F_LOGIN_ACTION' => get_root_url().'xyz.php',

now the login link is still there but it will give an error.

To actually log in, you type: 'yourpage.com/xyz.php' and it will work fine!

someone please tell me if this is a bad idea or not. I am new to piwigo.

It's a bit strange. How can your users can login now ?

Offline

 

#3 2021-09-10 10:36:38

erAck
Only trying to help
2015-09-06
1026

Re: Simple way to hide login from hackers

They probably don't have users.

Anyway, security by obscurity theater is a circus and why would one even want to rename the login. If you don't want the login credential fields to be displayed then configure the menu to not display it, under Admin -> Configuration -> Menus, on Identification (mbIdentification) check Hide.


Running Piwigo at https://erack.net/gallery/

Online

 
  •  » Your Piwigo
  •  » Simple way to hide login from hackers

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2021 · Contact