Hi, I'm currently setting up a site with an administrator part and my concern is how to change the name of my URLs (/login,/register), because LARAVEL is popular and a foreign person can access it if he knows the way.
thanks
@snapey yes sir, but if i keep changing /secret/ i feel "safe" enough knowing that ex-employees have to first figure out /secret/ before being able to brute force username and passwords. also, it's good enough that there isn't a single pattern that hackers can target if they know a site to be on Laravel.
End of the day, it is the hashed password that is protecting us.
theres little point in having a custom route prefix for register or login as you'll be providing a link to these anyway, so changing these won't stop bots or 'unsolicited users' from accessing and attempting either.
Laravel is already using ThrottlesLogins trait to rate limit abuse of login form.
You might benefit from adding recaptcha to your registration form and enforce a 'click to verify email' process to prevent people immediately logging in and abusing your sites internals.
Other than that, add a special status for new user, and limit what they can do in the first day/ hour etc, and that will give you time to approve the new users via an admin process, if need be.
@laracoft if you get 'fake' registrations filled out by people, I'm sure they'll be able to follow a text link to 'register'. it might cut down a bit of noise, but best way is to stop people getting in is to make sure your locks are good.
BTW I frequently see 'wp-login.php' in the logs for a few of the sites we host. why that link hasn't ever changed, amazes me.