Post by nudylady » Sun Jan 05, 2020 1:45 pm

any tutorial or link. I only found tutorials for oc2. thanks

New member

Posts

Joined
Sun Feb 19, 2012 12:14 am

Post by thekrotek » Sun Jan 05, 2020 4:21 pm

Wouldn't recommend you to, because you will have to change the paths in EVERY modification you currently have and will install in the future.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by sw!tch » Sun Jan 05, 2020 7:22 pm

thekrotek wrote:
Sun Jan 05, 2020 4:21 pm
Wouldn't recommend you to, because you will have to change the paths in EVERY modification you currently have and will install in the future.
Depends on if the OP just wants to rename the directory - I think OC takes the DIR_APPLICATION into account, so modifications don't have to be changed. If you look at installer codebase https://github.com/opencart/opencart/bl ... l.php#L196

OP - Whats the reason for wanting to change it?

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by thekrotek » Sun Jan 05, 2020 7:54 pm

sw!tch wrote:
Sun Jan 05, 2020 7:22 pm
Depends on if the OP just wants to rename the directory - I think OC takes the DIR_APPLICATION into account, so modifications don't have to be changed. If you look at installer codebase https://github.com/opencart/opencart/bl ... l.php#L196
They DO have to be changed, if they modify files in "admin" folder. So my statement stays: not worth it at all.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by letxobnav » Sun Jan 05, 2020 9:13 pm

many extension controllers, even the default OC provided ones have hardcoded admin/ paths defined (not even talking about possible hardcoded js stuff in twig files), you would have to change them all to a constant reference.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by chongshengdz » Sun Jan 05, 2020 10:26 pm

better use .htaccess to allow or deny ip address.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.

Electronic Components: integrated circuits, ic, semiconductors, transistors, thyristors, fuses, resistors, diodes, capacitors & more.
buy & sell transistors & mosfet


Active Member

Posts

Joined
Sat Apr 12, 2014 10:18 pm


Post by thekrotek » Sun Jan 05, 2020 10:43 pm

chongshengdz wrote:
Sun Jan 05, 2020 10:26 pm
better use .htaccess to allow or deny ip address.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.
Much easier to add an access with password rather than constantly changing IP.

Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com


User avatar
Expert Member

Posts

Joined
Sun Jul 03, 2016 12:24 am


Post by letxobnav » Sun Jan 05, 2020 11:00 pm

yes, that should suffice...

https://www.hackingarticles.in/multiple ... ntication/

just get a fixed ip address.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Mon Jan 06, 2020 12:34 am

thekrotek wrote:
Sun Jan 05, 2020 10:43 pm
chongshengdz wrote:
Sun Jan 05, 2020 10:26 pm
better use .htaccess to allow or deny ip address.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.
Much easier to add an access with password rather than constantly changing IP.
However, setting a password protection from access is only text formatting. It does not handle encoding or encryption.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by chongshengdz » Mon Jan 06, 2020 6:00 pm

thekrotek wrote:
Sun Jan 05, 2020 10:43 pm
chongshengdz wrote:
Sun Jan 05, 2020 10:26 pm
better use .htaccess to allow or deny ip address.
sample .htaccess
order deny,allow
deny from all
allow from your-ip-address.
every time you want to access your admin, just edit .htaccess and change your ip address.
Much easier to add an access with password rather than constantly changing IP.
i use vpn , so there is no need to change ip address constantly.

Electronic Components: integrated circuits, ic, semiconductors, transistors, thyristors, fuses, resistors, diodes, capacitors & more.
buy & sell transistors & mosfet


Active Member

Posts

Joined
Sat Apr 12, 2014 10:18 pm


Post by paulfeakins » Mon Jan 06, 2020 7:06 pm

letxobnav wrote:
Sun Jan 05, 2020 11:00 pm
just get a fixed ip address.
That's a risk in itself though.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by uksitebuilder » Mon Jan 06, 2020 7:41 pm

Or you could use our Two Factor Authentication extension as an added security measure for logging in

User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 403 guests