Martin
Martin
Offline
I have been checking various carts and installing them via softaculus. All I've tried, except Arastta allows one to change the name of the 'admin' folder for extra security.

What files need modified and where to rename the admin folder?

Thanks
Monday, October 09 2017, 06:47 PM
Share this post:

Accepted Answer

Monday, October 09 2017, 08:27 PM - #Permalink
A quick and fine solution is to use the Keyword setting, together with the firewall: https://arastta.org/docs/user-manual/system/settings/security

And also, some of the more secure login options, together with your own security and best practise: https://arastta.org/docs/user-manual/extensions/two-factor-authenticator

But if you still like to change the folder name (even if it's not needed), you would need to edit it through ftp/sftp/filemanager, and the also change it in the define.php: https://github.com/arastta/arastta/blob/master/define.php

Note! You might also need to change most extensions too, to make them install correctly when renaming folders, I guess ...

Note2! The reason some has a rename option, is because of a bad security history. But if the system is secure, it shouldn't be needed. ;)
The reply is currently minimized Show
Responses (5)
  • Accepted Answer

    Martin
    Martin
    Offline
    Monday, October 09 2017, 08:43 PM - #Permalink
    Thanks. I just noticed that capability in the Settings section.
    Like
    1
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Monday, October 09 2017, 08:57 PM - #Permalink
    Ooops !

    I added a keyword to change the admin folder path and now I can't get in :(

    I have installed a re-direct on my website that contains the store. So now, every time I type the path including the keyword to enter the admin section I get a nice message and re-direct to my home page.

    Not sure what's going wrong. How do I fix this?
    The reply is currently minimized Show
  • Accepted Answer

    Martin
    Martin
    Offline
    Monday, October 09 2017, 09:00 PM - #Permalink
    Solved !! I didn't realize I needed to include the '?' as part of the path.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 09 2017, 09:16 PM - #Permalink
    Glad you figured it out. :)

    It's also stated in the docs, but maybe it could be made even more clear (feel free to propose a change, see bottom of the doc page):
    Keyword for Admin Panel: Enter a keyword to access the admin panel such as 'mypanel' so that the system will require it to be in the link like domain.com/admin?mypanel. Leave blank to disable it.


    Maybe:
    Keyword for Admin Panel: Enter a keyword to access the admin panel such as 'mypanel' so that the system will require it to be in the link like domain.com/admin?mypanel (note the required question mark). Leave blank to disable it.
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, October 10 2017, 09:42 PM - #Permalink
    Hi,

    The problem is not in the manual - that's where I realized the ? mark is part of the path. That clarification (note the required question mark) would be better on the software itself where you explain what that setting is. When I saw the ? mark there I thought it was a typo.

    and yes, i have been building first and reading the instruction manual latter.:) sorry.
    The reply is currently minimized Show
Your Reply